>> I've meanwhile checked apps/x509.c, and patching it to send output to >> file is trivial (attached); but looking at the other output options >> around these lines makes me a bit unsure if these options are intended >> to go to STDOUT rather than to honor a file option? However if the later >> then I'm asking me why? Almost all options print their output to STDOUT >> and ignore a file option - except for the text option ... > no comments on this? > Is this behaviour now intended? Then lets close the RT with a comment > stating this; > or just an oversight, and can we then fix this (see my patches)?
I'd argue that it's intentional. The original purpose for -out option appears to be to emit *certificate* itself, not information about it. Yes, this kind of means that I reckon that -text option should result in output to STDout, not to one appointed by -out. There also is inconsistent usage of STDout when treating -days parameter: error message should be printed on stderr, not STDout. If nobody screams for a week, http://cvs.openssl.org/chngview?cn=20156 will go down to 1.0.x. A. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org