Fixed small display bug in debug tool.
authorThomas Pornin <pornin@bolet.org>
Sun, 18 Aug 2019 20:30:16 +0000 (22:30 +0200)
committerThomas Pornin <pornin@bolet.org>
Sun, 18 Aug 2019 20:30:16 +0000 (22:30 +0200)
tools/sslio.c

index ef7dd3f..be07c2c 100644 (file)
@@ -281,7 +281,7 @@ run_ssl_engine(br_ssl_engine_context *cc, unsigned long fd, unsigned flags)
                }
                if (cc->iaes_ctr != 0) {
                        fprintf(stderr, "   AES/CTR:       %s\n",
                }
                if (cc->iaes_ctr != 0) {
                        fprintf(stderr, "   AES/CTR:       %s\n",
-                               get_algo_name(cc->iaes_cbcdec, 0));
+                               get_algo_name(cc->iaes_ctr, 0));
                }
                if (cc->iaes_ctrcbc != 0) {
                        fprintf(stderr, "   AES/CCM:       %s\n",
                }
                if (cc->iaes_ctrcbc != 0) {
                        fprintf(stderr, "   AES/CCM:       %s\n",