Fixed lost OpenSSL output with "-t".
authorGuenter Knauf <lists@gknw.net>
Tue, 9 Apr 2013 14:59:57 +0000 (16:59 +0200)
committerGuenter Knauf <lists@gknw.net>
Tue, 9 Apr 2013 14:59:57 +0000 (16:59 +0200)
commit88535d593e202a0fb85d59f849d114034561b059
tree3ee9ea2dcdc15c400c80691d14a72d2ed21ed289
parent11dee0bfae702c07b510dce05a55d1b8144fbbcb
Fixed lost OpenSSL output with "-t".

The OpenSSL pipe wrote to the final CA bundle file, but the encoded PEM
output wrote to a temporary file.  Consequently, the OpenSSL output was
lost when the temp file was renamed to the final file at script finish
(overwriting the final file written earlier by openssl).
Patch posted to the list by Richard Michael (rmichael edgeofthenet org).
lib/mk-ca-bundle.pl