X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=apps%2Fgenrsa.c;h=5cf47e69215c9a6f302b2df64ea104fe1b75f2db;hp=dc63ff02bd85633a7b6907d683d1ebf71fc76681;hb=615513ba5294e03b451f33bc46c714c5efa28916;hpb=a3fe382e2d2d794c598921cd39117581a2a8941b diff --git a/apps/genrsa.c b/apps/genrsa.c index dc63ff02bd..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) { @@ -154,7 +154,7 @@ bad: BIO_printf(bio_err," -passout arg output file pass phrase source\n"); BIO_printf(bio_err," -f4 use F4 (0x10001) for the E value\n"); BIO_printf(bio_err," -3 use 3 for the E value\n"); - BIO_printf(bio_err," -rand file:file:...\n"); + BIO_printf(bio_err," -rand file%cfile%c...\n", LIST_SEPARATOR_CHAR, LIST_SEPARATOR_CHAR); BIO_printf(bio_err," load the file (or the files in the directory) into\n"); BIO_printf(bio_err," the random number generator\n"); goto err; @@ -213,7 +213,7 @@ bad: err: if (rsa != NULL) RSA_free(rsa); if (out != NULL) BIO_free(out); - if(passout) Free(passout); + if(passout) OPENSSL_free(passout); if (ret != 0) ERR_print_errors(bio_err); EXIT(ret);