提交 23143e4d 编写于 作者: D Dr. Stephen Henson

Print out names of other temp key algorithms.

Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 bc7bfb83
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册