projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make sure applications free up pkey structures and add netscape extension
[openssl.git]
/
crypto
/
asn1
/
t_req.c
diff --git
a/crypto/asn1/t_req.c
b/crypto/asn1/t_req.c
index 7df749a48fdf5e3e6d970940ebcff61de306f261..5caee74c5e503e40ccc7e41bc8bd25105a1cca9e 100644
(file)
--- a/
crypto/asn1/t_req.c
+++ b/
crypto/asn1/t_req.c
@@
-138,6
+138,8
@@
X509_REQ *x;
#endif
BIO_printf(bp,"%12sUnknown Public Key:\n","");
+ EVP_PKEY_free(pkey);
+
/* may not be */
sprintf(str,"%8sAttributes:\n","");
if (BIO_puts(bp,str) <= 0) goto err;