Accept -F4 option in lower case, which is what the usage information
authorBodo Möller <bodo@openssl.org>
Thu, 8 Jun 2000 22:40:09 +0000 (22:40 +0000)
committerBodo Möller <bodo@openssl.org>
Thu, 8 Jun 2000 22:40:09 +0000 (22:40 +0000)
says one should use.

apps/genrsa.c

index 4cbccf8..5cf47e6 100644 (file)
@@ -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)
                        {