diff options
Diffstat (limited to 'src/lib/libssl/src/apps/genrsa.c')
| -rw-r--r-- | src/lib/libssl/src/apps/genrsa.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/lib/libssl/src/apps/genrsa.c b/src/lib/libssl/src/apps/genrsa.c index 300b4b0da2..9481dc4218 100644 --- a/src/lib/libssl/src/apps/genrsa.c +++ b/src/lib/libssl/src/apps/genrsa.c | |||
| @@ -106,7 +106,6 @@ genrsa_main(int argc, char **argv) | |||
| 106 | #ifndef OPENSSL_NO_ENGINE | 106 | #ifndef OPENSSL_NO_ENGINE |
| 107 | char *engine = NULL; | 107 | char *engine = NULL; |
| 108 | #endif | 108 | #endif |
| 109 | char *inrand = NULL; | ||
| 110 | BIO *out = NULL; | 109 | BIO *out = NULL; |
| 111 | BIGNUM *bn = BN_new(); | 110 | BIGNUM *bn = BN_new(); |
| 112 | RSA *rsa = NULL; | 111 | RSA *rsa = NULL; |
| @@ -143,11 +142,6 @@ genrsa_main(int argc, char **argv) | |||
| 143 | engine = *(++argv); | 142 | engine = *(++argv); |
| 144 | } | 143 | } |
| 145 | #endif | 144 | #endif |
| 146 | else if (strcmp(*argv, "-rand") == 0) { | ||
| 147 | if (--argc < 1) | ||
| 148 | goto bad; | ||
| 149 | inrand = *(++argv); | ||
| 150 | } | ||
| 151 | #ifndef OPENSSL_NO_DES | 145 | #ifndef OPENSSL_NO_DES |
| 152 | else if (strcmp(*argv, "-des") == 0) | 146 | else if (strcmp(*argv, "-des") == 0) |
| 153 | enc = EVP_des_cbc(); | 147 | enc = EVP_des_cbc(); |
| @@ -206,9 +200,6 @@ bad: | |||
| 206 | #ifndef OPENSSL_NO_ENGINE | 200 | #ifndef OPENSSL_NO_ENGINE |
| 207 | BIO_printf(bio_err, " -engine e use engine e, possibly a hardware device.\n"); | 201 | BIO_printf(bio_err, " -engine e use engine e, possibly a hardware device.\n"); |
| 208 | #endif | 202 | #endif |
| 209 | BIO_printf(bio_err, " -rand file:file:...\n"); | ||
| 210 | BIO_printf(bio_err, " load the file (or the files in the directory) into\n"); | ||
| 211 | BIO_printf(bio_err, " the random number generator\n"); | ||
| 212 | goto err; | 203 | goto err; |
| 213 | } | 204 | } |
| 214 | ERR_load_crypto_strings(); | 205 | ERR_load_crypto_strings(); |
