projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix the Win32 compile environment and add various changes so it will now compile
[oweals/openssl.git]
/
crypto
/
evp
/
p_lib.c
diff --git
a/crypto/evp/p_lib.c
b/crypto/evp/p_lib.c
index 395351b3733f7f1658cd6bf78c46dc3bf2c45dc9..581df867da853c5f1c205d24754116d19dcd9ad1 100644
(file)
--- a/
crypto/evp/p_lib.c
+++ b/
crypto/evp/p_lib.c
@@
-90,6
+90,8
@@
EVP_PKEY *pkey;
int EVP_PKEY_size(pkey)
EVP_PKEY *pkey;
{
+ if (pkey == NULL)
+ return(0);
#ifndef NO_RSA
if (pkey->type == EVP_PKEY_RSA)
return(RSA_size(pkey->pkey.rsa));