projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97853bd
)
Don't Free() password if it was read from config file.
author
Dr. Stephen Henson
<steve@openssl.org>
Thu, 9 Mar 2000 01:03:44 +0000
(
01:03
+0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Thu, 9 Mar 2000 01:03:44 +0000
(
01:03
+0000)
apps/req.c
patch
|
blob
|
history
diff --git
a/apps/req.c
b/apps/req.c
index 97bb0d0ed8760f58e0680849391c06ab5ca66433..eb338eeb1b2b2dd42c244132b40bfd4476353266 100644
(file)
--- a/
apps/req.c
+++ b/
apps/req.c
@@
-878,8
+878,8
@@
end:
EVP_PKEY_free(pkey);
X509_REQ_free(req);
X509_free(x509ss);
- if(passin) Free(passin);
- if(passout) Free(passout);
+ if(pass
argin && pass
in) Free(passin);
+ if(pass
argout && pass
out) Free(passout);
OBJ_cleanup();
#ifndef NO_DSA
if (dsa_params != NULL) DSA_free(dsa_params);