From e743a5134ec788ddfc457210afacb6820161248c Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Thu, 9 Mar 2000 01:03:44 +0000 Subject: [PATCH] Don't Free() password if it was read from config file. --- apps/req.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/req.c b/apps/req.c index 97bb0d0ed8..eb338eeb1b 100644 --- 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(passargin && passin) Free(passin); + if(passargout && passout) Free(passout); OBJ_cleanup(); #ifndef NO_DSA if (dsa_params != NULL) DSA_free(dsa_params); -- 2.25.1