summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2014-08-20 22:30:21 +0200
committerBenny Baumann <BenBE@geshi.org>2014-08-20 22:30:21 +0200
commit3345173b825f1e135b4f4679efc07285f5b10afe (patch)
treeaf5a467c2d1f184fba8070846eae3ff28050cbed
parentbe3c7c9559e887db82a8a4c5d7c54ec66536fbe6 (diff)
parentc32626a6e4ef7885ea1e1dcc6b39af07914498a4 (diff)
downloadcacert-devel-3345173b825f1e135b4f4679efc07285f5b10afe.tar.gz
cacert-devel-3345173b825f1e135b4f4679efc07285f5b10afe.tar.xz
cacert-devel-3345173b825f1e135b4f4679efc07285f5b10afe.zip
Merge branch 'bug-1292' into release
-rw-r--r--includes/lib/check_weak_key.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/lib/check_weak_key.php b/includes/lib/check_weak_key.php
index 8ad2ccf..59c6cd6 100644
--- a/includes/lib/check_weak_key.php
+++ b/includes/lib/check_weak_key.php
@@ -173,7 +173,7 @@ function checkWeakKeyText($text)
$exponent = $exponent[1]; // exponent might be very big =>
//handle as string using bc*()
- if (bccomp($exponent, "3") === 0)
+ if (bccomp($exponent, "65537") < 0)
{
return sprintf(_("The keys you use might be insecure. ".
"Although there is currently no known attack for ".