diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2015-02-26 19:23:38 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2015-02-27 00:18:10 +0000 |
commit | 35313768c77191a61bd6e34393d89e7b7cd78465 (patch) | |
tree | 8aa0517d14a82759dd06387dc8a64988e81d668c /apps/dsa.c | |
parent | 7a6c97924293757c572be01fb2ba3b181c7a4e9f (diff) |
Make OpenSSL compile with no-rc4
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'apps/dsa.c')
-rw-r--r-- | apps/dsa.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/dsa.c b/apps/dsa.c index dedf8e174a..7ff6ee960f 100644 --- a/apps/dsa.c +++ b/apps/dsa.c @@ -113,7 +113,9 @@ int MAIN(int argc, char **argv) char *passin = NULL, *passout = NULL; int modulus = 0; +#ifndef OPENSSL_NO_RC4 int pvk_encr = 2; +#endif apps_startup(); @@ -168,12 +170,14 @@ int MAIN(int argc, char **argv) engine = *(++argv); } # endif +#ifndef OPENSSL_NO_RC4 else if (strcmp(*argv, "-pvk-strong") == 0) pvk_encr = 2; else if (strcmp(*argv, "-pvk-weak") == 0) pvk_encr = 1; else if (strcmp(*argv, "-pvk-none") == 0) pvk_encr = 0; +#endif else if (strcmp(*argv, "-noout") == 0) noout = 1; else if (strcmp(*argv, "-text") == 0) |