diff options
author | Rich Salz <rsalz@openssl.org> | 2015-02-03 11:20:56 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-02-03 11:20:56 -0500 |
commit | dfb56425b68314b2b57e17c82c1df42e7a015132 (patch) | |
tree | 0f727a8bfd00e1ca5bccc77cc0f25ef27f911f0f /crypto/dh/dh_gen.c | |
parent | 156a872233b56558c72561789b8f33ff71a88fa7 (diff) |
Dead code: crypto/dh,modes,pkcs12,ripemd,rsa,srp
And an uncompiled C++ test file.
Also remove srp_lcl.h, with help from Richard.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/dh/dh_gen.c')
-rw-r--r-- | crypto/dh/dh_gen.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/crypto/dh/dh_gen.c b/crypto/dh/dh_gen.c index 9b9db6458b..99ccae33bf 100644 --- a/crypto/dh/dh_gen.c +++ b/crypto/dh/dh_gen.c @@ -136,17 +136,7 @@ static int dh_builtin_genparams(DH *ret, int prime_len, int generator, if (!BN_set_word(t2, 11)) goto err; g = 2; - } -#if 0 /* does not work for safe primes */ - else if (generator == DH_GENERATOR_3) { - if (!BN_set_word(t1, 12)) - goto err; - if (!BN_set_word(t2, 5)) - goto err; - g = 3; - } -#endif - else if (generator == DH_GENERATOR_5) { + } else if (generator == DH_GENERATOR_5) { if (!BN_set_word(t1, 10)) goto err; if (!BN_set_word(t2, 3)) |