diff options
author | Remi Collet <fedora@famillecollet.com> | 2016-11-15 10:32:57 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2016-11-15 10:32:57 +0100 |
commit | 3f5f603d9cf1078f6ee4a27d6e3f846e53baa409 (patch) | |
tree | 0bf9527b9d8881822e02d67ac8957b6c22cf8866 /php-zendframework-zend-math-pr24.patch | |
parent | 079677467c35fe95f3bb9239f71b25b4f55d1a28 (diff) |
php-zendframework-zend-math: drop mcrypt BR
Diffstat (limited to 'php-zendframework-zend-math-pr24.patch')
-rw-r--r-- | php-zendframework-zend-math-pr24.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/php-zendframework-zend-math-pr24.patch b/php-zendframework-zend-math-pr24.patch new file mode 100644 index 0000000..15db9cb --- /dev/null +++ b/php-zendframework-zend-math-pr24.patch @@ -0,0 +1,31 @@ +From 16291e8a59c5791518eaaa7007e024ff2baed788 Mon Sep 17 00:00:00 2001 +From: Remi Collet <fedora@famillecollet.com> +Date: Thu, 15 Sep 2016 15:09:10 +0200 +Subject: [PATCH] fix #23 missing method in HashTiming (RandomLib 1.2) + +--- + Source/HashTiming.php | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +diff --git a/Source/HashTiming.php b/Source/HashTiming.php +index a50ce43..63d2894 100644 +--- a/Source/HashTiming.php ++++ b/Source/HashTiming.php +@@ -62,6 +62,17 @@ public static function getStrength() + } + + /** ++ * If the source is currently available. ++ * Reasons might be because the library is not installed ++ * ++ * @return bool ++ */ ++ public static function isSupported() ++ { ++ return true; ++ } ++ ++ /** + * Generate a random string of the specified size + * + * @param int $size The size of the requested random string |