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 /apps/req.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 'apps/req.c')
-rw-r--r-- | apps/req.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/req.c b/apps/req.c index 17f58d07cb..525995dd51 100644 --- a/apps/req.c +++ b/apps/req.c @@ -663,7 +663,10 @@ loop: } i=X509_REQ_verify(req,pkey); - if (tmp) pkey=NULL; + if (tmp) { + EVP_PKEY_free(pkey); + pkey=NULL; + } if (i < 0) { |