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:25:04 +0000 (09:25 +0100)
commit229bd12487f8576fc088dc4f641950ac33c62033
tree2a4beba51ff9302d3f5988af2f80bc0f028ca5d1
parenta34ac5b8b9c1a3281b4ee545c46177f485fb4949
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>
apps/ca.c