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 4cbccf8456e003bc3a7a89b070ce4f07216213e1..5cf47e69215c9a6f302b2df64ea104fe1b75f2db 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)
                        {