From 91f4bf7234d97491b04db05564de1b4a1e939f9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20T=C3=A4nzer?= Date: Sun, 9 Mar 2014 03:09:26 +0100 Subject: bug 1255: Fix syntax error (bracketing) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michael Tänzer --- includes/lib/check_weak_key.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } -- cgit v1.2.1