diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-04-23 17:16:40 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-04-23 17:16:40 +0000 |
commit | 7134507de0cc51f08b482987d87b87830816f2a6 (patch) | |
tree | 83326e3e8f886da2d3479f0f49101949ec35af53 /apps/req.c | |
parent | fe41d9853c38b578d601e27a7508e69f70b91005 (diff) |
Make no-rsa, no-dsa and no-dh compile again.
Diffstat (limited to 'apps/req.c')
-rw-r--r-- | apps/req.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/req.c b/apps/req.c index 3b4ab28e5d..e9b764b90c 100644 --- a/apps/req.c +++ b/apps/req.c @@ -1715,7 +1715,7 @@ static EVP_PKEY_CTX *set_keygen_ctx(BIO *err, const char *gstr, int *pkey_type, ERR_print_errors(err); return NULL; } - +#ifndef OPENSSL_NO_RSA if ((*pkey_type == EVP_PKEY_RSA) && (keylen != -1)) { if (EVP_PKEY_CTX_set_rsa_keygen_bits(gctx, keylen) <= 0) @@ -1726,6 +1726,7 @@ static EVP_PKEY_CTX *set_keygen_ctx(BIO *err, const char *gstr, int *pkey_type, return NULL; } } +#endif return gctx; } |