From: Bodo Möller <bodo@openssl.org>
Date: Thu, 8 Jun 2000 22:40:09 +0000 (+0000)
Subject: Accept -F4 option in lower case, which is what the usage information
X-Git-Tag: OpenSSL-engine-0_9_6-beta1~21^2~79
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f1d92d941e2a6c179895f0754f35292ca95f4772;p=oweals%2Fopenssl.git

Accept -F4 option in lower case, which is what the usage information
says one should use.
---

diff --git a/apps/genrsa.c b/apps/genrsa.c
index 4cbccf8456..5cf47e6921 100644
--- a/apps/genrsa.c
+++ b/apps/genrsa.c
@@ -114,7 +114,7 @@ int MAIN(int argc, char **argv)
 			}
 		else if (strcmp(*argv,"-3") == 0)
 			f4=3;
-		else if (strcmp(*argv,"-F4") == 0)
+		else if (strcmp(*argv,"-F4") == 0 || strcmp(*argv,"-f4") == 0)
 			f4=RSA_F4;
 		else if (strcmp(*argv,"-rand") == 0)
 			{