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:35:03 +0100 |
commit | 57aa2f154e3e0f427be59497f58092dd3ec0528a (patch) | |
tree | e598c8fcd7635b3fef491babe89b95bbea5906f8 /apps/ca.c | |
parent | fa4c374572e94f467900f5820cd1d00af2470a17 (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/ca.c')
-rw-r--r-- | apps/ca.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -2224,7 +2224,6 @@ static int certify_spkac(X509 **xret, 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 err; } |