diff options
author | Dr. Stephen Henson <steve@openssl.org> | 1999-01-03 01:08:33 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 1999-01-03 01:08:33 +0000 |
commit | cfcf645356b0957e9ec7190e3afb3e4d6c406d5b (patch) | |
tree | cc2924b1fd4399c24493f588d78ac0e582fb550d /crypto/x509/x509type.c | |
parent | cdbb8c2f26574349b721b651f40f120864848059 (diff) | |
download | openssl-cfcf645356b0957e9ec7190e3afb3e4d6c406d5b.tar.gz |
Make sure applications free up pkey structures and add netscape extension
handling to x509.c
Diffstat (limited to 'crypto/x509/x509type.c')
-rw-r--r-- | crypto/x509/x509type.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/x509/x509type.c b/crypto/x509/x509type.c index 42c23bcfca..5274ded737 100644 --- a/crypto/x509/x509type.c +++ b/crypto/x509/x509type.c @@ -108,8 +108,9 @@ EVP_PKEY *pkey; break; } - if (EVP_PKEY_size(pkey) <= 512) + if (EVP_PKEY_size(pk) <= 512) ret|=EVP_PKT_EXP; + if(pkey==NULL) EVP_PKEY_free(pk); return(ret); } |