Print out names of other temp key algorithms. Reviewed-by: Rich Salz <rsalz@openssl.org>
diff --git a/apps/s_cb.c b/apps/s_cb.c index 330dedb..e960b94 100644 --- a/apps/s_cb.c +++ b/apps/s_cb.c
@@ -383,7 +383,11 @@ 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;