Fix a double free in ca command line
authorMatt Caswell <matt@openssl.org>
Mon, 10 Oct 2016 15:53:11 +0000 (16:53 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 28 Oct 2016 08:30:40 +0000 (09:30 +0100)
commit3bceb47a272cc930c48b88743c4734a891b1c09a
tree08208457bce06ec8a42f2a0d27859b4ea0690487
parentdafa1c85b9bbd8ed3ff1911d00ad7f4e890bafa3
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)
apps/ca.c