curl-library
Re: [PATCH] Utils: Fix lost OpenSSL output with "-t".
Date: Wed, 10 Apr 2013 00:40:35 +0200
On 09.04.2013 18:08, Guenter wrote:
> On 04.04.2013 11:55, Richard Michael wrote:
>> 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).
>>
>> This simple fix captures openssl command output, then write to the
>> temporary file.
>> ---
> thanks, verified and just pushed!
it seems that my verification was incomplete; looking again at the patch
I felt that it would not work on Windows, and in fact it didnt, sigh!
So I hacked up another patch which should now hopefully again work with
all options *and* on all platforms ...
but still what I cant get is what the motivation was for the former
patch which made the script able to output to STDOUT ...??
Wasnt this script meant all the times for creating a *file* ca-bundle.crt?
Hell for what reason is it good that it now can output to STDOUT?
What can someone do with this output on STDOUT?
Perhaps use it as CGI or what? Even then why not just send the file?
/me lacks of fantasy to get this ... :-P
anyway, I think I got it now working again - but someone else please
please give it a try and test with different options ...
Gün.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-04-10