From: Dr. Stephen Henson Date: Thu, 11 Aug 2016 15:37:00 +0000 (+0100) Subject: Print out names of other temp key algorithms. X-Git-Tag: OpenSSL_1_1_0~205 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=23143e4da6b6545bc8e3e2d6dd4b1be4e4b3f539;ds=sidebyside Print out names of other temp key algorithms. Reviewed-by: Rich Salz --- diff --git a/apps/s_cb.c b/apps/s_cb.c index 330dedbecd..e960b9469b 100644 --- a/apps/s_cb.c +++ b/apps/s_cb.c @@ -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;