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)
|
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)
|
if (pkey->type == EVP_PKEY_RSA)
|
||||||
return(RSA_size(pkey->pkey.rsa));
|
return(RSA_size(pkey->pkey.rsa));
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user