From 9730043fac645a036cc7f24a2a1d576c3e0fbc4d Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Tue, 22 Mar 2016 02:39:36 +0000 Subject: [PATCH] Fix no-rc4. Reviewed-by: Matt Caswell --- apps/dsa.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); -- 2.25.1