diff options
Diffstat (limited to 'includes/lib/check_weak_key.php')
-rw-r--r-- | includes/lib/check_weak_key.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/lib/check_weak_key.php b/includes/lib/check_weak_key.php index 7f96a88..6628bed 100644 --- a/includes/lib/check_weak_key.php +++ b/includes/lib/check_weak_key.php @@ -261,7 +261,7 @@ function checkWeakKeyText($text) } //Check the numbers are all less than the public modulus P - if(0 <= gmp_cmp($num_Q, $num_P)) || 0 <= gmp_cmp($num_G, $num_P)) || 0 <= gmp_cmp($num_Y, $num_P))) { + if(0 <= gmp_cmp($num_Q, $num_P) || 0 <= gmp_cmp($num_G, $num_P) || 0 <= gmp_cmp($num_Y, $num_P)) { return failWithId("checkWeakKeyText(): The supplied DSA ". "key does seem to be normalized to have Q < P, G < P and Y < P.\nData:\n$text"); } |