summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--moduli.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/moduli.c b/moduli.c
index 48150dab2..7120415fd 100644
--- a/moduli.c
+++ b/moduli.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: moduli.c,v 1.33 2019/01/20 02:01:59 tb Exp $ */ 1/* $OpenBSD: moduli.c,v 1.34 2019/01/23 09:49:00 dtucker Exp $ */
2/* 2/*
3 * Copyright 1994 Phil Karn <karn@qualcomm.com> 3 * Copyright 1994 Phil Karn <karn@qualcomm.com>
4 * Copyright 1996-1998, 2003 William Allen Simpson <wsimpson@greendragon.com> 4 * Copyright 1996-1998, 2003 William Allen Simpson <wsimpson@greendragon.com>
@@ -716,8 +716,6 @@ prime_test(FILE *in, FILE *out, u_int32_t trials, u_int32_t generator_wanted,
716 if (generator_known == 0) { 716 if (generator_known == 0) {
717 if (BN_mod_word(p, 24) == 11) 717 if (BN_mod_word(p, 24) == 11)
718 generator_known = 2; 718 generator_known = 2;
719 else if (BN_mod_word(p, 12) == 5)
720 generator_known = 3;
721 else { 719 else {
722 u_int32_t r = BN_mod_word(p, 10); 720 u_int32_t r = BN_mod_word(p, 10);
723 721