Solar Designer wrote: > > On Mon, Apr 29, 2002 at 03:48:48PM +0100, Ben Laurie wrote: > > Solar Designer wrote: > > > it could also be nice to report the filename and strerror(errno), or > > > it is sometimes not immediately clear what the error messages apply to: > > > > > > jill!solar:~/build/openssl-SNAP-20020416$ apps/openssl dgst -md5 /bin/ls >/dev/log /bin /usr/bin/id > > > MD5(/bin/ls)= d93498d9f52c3dc0330ab930fe3ffc50 > > > Read Error > > > Read Error > > > MD5(/usr/bin/id)= 4b37435d0793aba2b602fd2da0d7f8c5 > > > jill!solar:~/build/openssl-SNAP-20020416$ echo $? > > > 0 > > > > > > ...and the zero exit status in that case is even worse. > > > > > > I am thinking something like "fread: /bin: Is a directory" printed to > > > stderr and a non-zero exit if at least one of the arguments resulted in > > > an error. > > > > Well, here's an even bigger and better patch. Thanks for the continued > > feedback. > > OK, I've now tested this patch applied to 0.9.6d (by the way, the > announcement message incorrectly mentions "beta 1" in the Subject > line). It works as desired, thanks! I wouldn't make the messages > this verbose for uses from within the openssl binary, but that's > up to you.
The verbose messages are just the standard openssl error reporting - if people want apps that say less, I'm sure they can write them... Cheers, Ben. -- http://www.apache-ssl.org/ben.html http://www.thebunker.net/ "There is no limit to what a man can do or how far he can go if he doesn't mind who gets the credit." - Robert Woodruff ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]