mirror of
https://github.com/openssl/openssl.git
synced 2024-11-28 12:35:22 +08:00
Reinstate accidentally deleted code.
This commit is contained in:
parent
61454a9f8c
commit
92dad6cc84
@ -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 New Issue
Block a user