提交 92dad6cc 编写于 作者: B Ben Laurie

Reinstate accidentally deleted code.

上级 61454a9f
......@@ -81,7 +81,9 @@ int EVP_PKEY_bits(EVP_PKEY *pkey)
int EVP_PKEY_size(EVP_PKEY *pkey)
{
#ifndef OPENSSL_NO_RSA
if (pkey == NULL)
return(0);
#ifndef OPENSSL_NO_RSA
if (pkey->type == EVP_PKEY_RSA)
return(RSA_size(pkey->pkey.rsa));
else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册