summaryrefslogtreecommitdiffstats
path: root/apps/dsa.c
diff options
context:
space:
mode:
authorBen Laurie <ben@links.org>2016-03-22 02:39:36 +0000
committerBen Laurie <ben@links.org>2016-03-22 11:15:24 +0000
commit9730043fac645a036cc7f24a2a1d576c3e0fbc4d (patch)
tree29ba8c0aaa36a109d253d09374aa6a48175df377 /apps/dsa.c
parentf100b0317eea8df3510b4b6ccf46837872c288cf (diff)
Fix no-rc4.
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'apps/dsa.c')
-rw-r--r--apps/dsa.c5
1 files changed, 4 insertions, 1 deletions
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);