commit | bb2297a41d1873e38daf9428be5cb5181b5751a2 | [log] [tgz] |
---|---|---|
author | Ben Laurie <ben@openssl.org> | Fri Aug 03 18:48:35 2001 +0000 |
committer | Ben Laurie <ben@openssl.org> | Fri Aug 03 18:48:35 2001 +0000 |
tree | cde31fd413783a837d48959c7fa65ac0cc01df1f | |
parent | 75e98d0563ccb7710b099678043d28cfc35cbb57 [diff] [blame] |
Header bloat reduction for EVP_PKEY.
diff --git a/crypto/evp/p_lib.c b/crypto/evp/p_lib.c index 39882e3..5378072 100644 --- a/crypto/evp/p_lib.c +++ b/crypto/evp/p_lib.c
@@ -64,6 +64,7 @@ #include <openssl/x509.h> static void EVP_PKEY_free_it(EVP_PKEY *x); + int EVP_PKEY_bits(EVP_PKEY *pkey) { #ifndef OPENSSL_NO_RSA @@ -80,8 +81,6 @@ int EVP_PKEY_size(EVP_PKEY *pkey) { - if (pkey == NULL) - return(0); #ifndef OPENSSL_NO_RSA if (pkey->type == EVP_PKEY_RSA) return(RSA_size(pkey->pkey.rsa));