When adding the "-r" option, the old "-c" option stopped working due to a missing 'else'. This patch adds that missing 'else' which makes -c and -r working again.
diff -ur openssl-1.0.0-beta5/apps/dgst.c openssl-work/apps/dgst.c --- openssl-1.0.0-beta5/apps/dgst.c 2009-10-15 19:18:03.000000000 +0200 +++ openssl-work/apps/dgst.c 2010-02-11 22:31:22.000000000 +0100 @@ -155,7 +155,7 @@ if ((*argv)[0] != '-') break; if (strcmp(*argv,"-c") == 0) separator=1; - if (strcmp(*argv,"-r") == 0) + else if (strcmp(*argv,"-r") == 0) separator=2; else if (strcmp(*argv,"-rand") == 0) { ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org