openssl ca: open the output file as late as possible
authorRichard Levitte <levitte@openssl.org>
Thu, 21 Jun 2018 04:24:33 +0000 (06:24 +0200)
committerRichard Levitte <levitte@openssl.org>
Thu, 21 Jun 2018 04:56:23 +0000 (06:56 +0200)
commit63871d9f810fec1e8a441d82c9ac79c58b19e2ad
treeba004e944bc59ec1637fb3287947e144e09eaf9f
parent6e501c47191102b23912e2744929d4c630523ff7
openssl ca: open the output file as late as possible

Fixes #6544

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/6546)
apps/ca.c