diff options
author | Matt Caswell <matt@openssl.org> | 2016-10-10 16:53:11 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-10-28 09:30:40 +0100 |
commit | 3bceb47a272cc930c48b88743c4734a891b1c09a (patch) | |
tree | 08208457bce06ec8a42f2a0d27859b4ea0690487 /apps | |
parent | dafa1c85b9bbd8ed3ff1911d00ad7f4e890bafa3 (diff) |
Fix a double free in ca command line
Providing a spkac file with no default section causes a double free.
Thanks to Brian Carpenter for reporting this issue.
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
(cherry picked from commit 229bd12487f8576fc088dc4f641950ac33c62033)
Diffstat (limited to 'apps')
-rw-r--r-- | apps/ca.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -1917,7 +1917,6 @@ static int certify_spkac(X509 **xret, const char *infile, EVP_PKEY *pkey, sk = CONF_get_section(parms, "default"); if (sk_CONF_VALUE_num(sk) == 0) { BIO_printf(bio_err, "no name/value pairs found in %s\n", infile); - CONF_free(parms); goto end; } |