diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2016-08-11 16:37:00 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-08-13 14:11:05 +0100 |
commit | 23143e4da6b6545bc8e3e2d6dd4b1be4e4b3f539 (patch) | |
tree | b25bc75fc60c92e7c7f225b0b35c53a75154c70d /apps | |
parent | bc7bfb83b7189c052bf2898bd6b82f8e4b4fd3f6 (diff) | |
download | openssl-23143e4da6b6545bc8e3e2d6dd4b1be4e4b3f539.tar.gz |
Print out names of other temp key algorithms.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/s_cb.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |