Hi,
I am not on the mailing list - I just use this way of reporting a fix for a
bug I found.
The function MAIN in apps/dgst.c incorrectly parses arguments in argc and
argv.
In effect, it decrements the argument count twice for each argument parsed.
As a result,
the following will fail:
openssl dgst -c -d -md5
Here is a diff for my fix of version 092b:
diff dgst.c dgst.c.bak
115,117c115
< /* corrected parsing of args: T. Hulek, 11.4.1999 */
< /* for (i=0; i<argc; i++) */
< while (argc > 0)
---
> for (i=0; i<argc; i++)
Zdravim/Best regards
Tomas
--
[EMAIL PROTECTED]
Tomas Hulek
ADIS Project - Application Development Manager
IBM CR, Murmanska 4, Praha 10, Czech Republic
tel. +420-2-7213 1412 fax +420-2-7213 1444
(See attached file: dgst.c)
dgst.c