X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=apps%2Frsa.c;h=419e50455adb6c3d8217aee87a817d581e9b3b57;hp=e13c14fbc830de688d2095d25c46403c5c9ef003;hb=35313768c77191a61bd6e34393d89e7b7cd78465;hpb=7a6c97924293757c572be01fb2ba3b181c7a4e9f diff --git a/apps/rsa.c b/apps/rsa.c index e13c14fbc8..419e50455a 100644 --- a/apps/rsa.c +++ b/apps/rsa.c @@ -115,8 +115,9 @@ int MAIN(int argc, char **argv) char *engine = NULL; # endif int modulus = 0; - +#ifndef OPENSSL_NO_RC4 int pvk_encr = 2; +#endif apps_startup(); @@ -178,12 +179,14 @@ int MAIN(int argc, char **argv) pubin = 2; else if (strcmp(*argv, "-RSAPublicKey_out") == 0) pubout = 2; +#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)