diff options
-rw-r--r-- | src/dl_group.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/dl_group.cpp b/src/dl_group.cpp index 0e37c197e..523129327 100644 --- a/src/dl_group.cpp +++ b/src/dl_group.cpp @@ -4,7 +4,6 @@ *************************************************/ #include <botan/dl_group.h> -#include <botan/libstate.h> #include <botan/config.h> #include <botan/parsing.h> #include <botan/numthry.h> @@ -128,9 +127,6 @@ void DL_Group::initialize(const BigInt& p1, const BigInt& q1, const BigInt& g1) g = g1; q = q1; - if(q == 0 && check_prime((p - 1) / 2, global_state().prng_reference())) - q = (p - 1) / 2; - initialized = true; } |