Print out names of other temp key algorithms.
authorDr. Stephen Henson <steve@openssl.org>
Thu, 11 Aug 2016 15:37:00 +0000 (16:37 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Sat, 13 Aug 2016 13:11:05 +0000 (14:11 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
apps/s_cb.c

index 330dedbecdbde1ebdd44a23a7e39896dee67feab..e960b9469baa52bdac245692e50336f1dc667ebd 100644 (file)
@@ -383,7 +383,11 @@ int ssl_print_tmp_key(BIO *out, SSL *s)
                 cname = OBJ_nid2sn(nid);
             BIO_printf(out, "ECDH, %s, %d bits\n", cname, EVP_PKEY_bits(key));
         }
+    break;
 #endif
+    default:
+        BIO_printf(out, "%s, %d bits\n", OBJ_nid2sn(EVP_PKEY_id(key)),
+                   EVP_PKEY_bits(key));
     }
     EVP_PKEY_free(key);
     return 1;