From: Ben Laurie Date: Tue, 22 Mar 2016 02:39:36 +0000 (+0000) Subject: Fix no-rc4. X-Git-Tag: OpenSSL_1_1_0-pre5~252 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=9730043fac645a036cc7f24a2a1d576c3e0fbc4d Fix no-rc4. Reviewed-by: Matt Caswell --- diff --git a/apps/dsa.c b/apps/dsa.c index 79c6fb29b4..ed5bf0175f 100644 --- a/apps/dsa.c +++ b/apps/dsa.c @@ -116,7 +116,10 @@ int dsa_main(int argc, char **argv) char *passin = NULL, *passout = NULL, *passinarg = NULL, *passoutarg = NULL; OPTION_CHOICE o; int informat = FORMAT_PEM, outformat = FORMAT_PEM, text = 0, noout = 0; - int i, modulus = 0, pubin = 0, pubout = 0, pvk_encr = 2, ret = 1; + int i, modulus = 0, pubin = 0, pubout = 0, ret = 1; +# ifndef OPENSSL_NO_RC4 + int pvk_encr = 2; +# endif int private = 0; prog = opt_init(argc, argv, dsa_options);