diff options
author | Christophe Coevoet <stof@notk.org> | 2016-01-27 02:15:09 +0100 |
---|---|---|
committer | Christophe Coevoet <stof@notk.org> | 2016-01-27 02:15:09 +0100 |
commit | e56ddbc95a3240a8b57a44ff7f41d48b968ac03c (patch) | |
tree | 8fa27a3848c40000f49bba4eeeef38254cd78343 | |
parent | dd8998b7c846f6909f4e7a5f67fabebfc412a4f7 (diff) | |
download | random_compat-e56ddbc95a3240a8b57a44ff7f41d48b968ac03c.zip random_compat-e56ddbc95a3240a8b57a44ff7f41d48b968ac03c.tar.gz random_compat-e56ddbc95a3240a8b57a44ff7f41d48b968ac03c.tar.bz2 |
Fix the signature of the final random_bytes polyfill without any suitable backend
-rw-r--r-- | lib/random.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/random.php b/lib/random.php index fb21ef2..4b0d262 100644 --- a/lib/random.php +++ b/lib/random.php @@ -134,7 +134,7 @@ if (PHP_VERSION_ID < 70000) { * We don't have any more options, so let's throw an exception right now * and hope the developer won't let it fail silently. */ - function random_bytes() + function random_bytes($length) { throw new Exception( 'There is no suitable CSPRNG installed on your system' |