diff options
author | Ben Laurie <ben@links.org> | 2016-03-22 02:39:36 +0000 |
---|---|---|
committer | Ben Laurie <ben@links.org> | 2016-03-22 11:15:24 +0000 |
commit | 9730043fac645a036cc7f24a2a1d576c3e0fbc4d (patch) | |
tree | 29ba8c0aaa36a109d253d09374aa6a48175df377 | |
parent | f100b0317eea8df3510b4b6ccf46837872c288cf (diff) |
Fix no-rc4.
Reviewed-by: Matt Caswell <matt@openssl.org>
-rw-r--r-- | apps/dsa.c | 5 |
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); |