Reinstate accidentally deleted code.
This commit is contained in:
parent
61454a9f8c
commit
92dad6cc84
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue