]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/random_compat/random_bytes_libsodium.php
WordPress 4.5
[autoinstalls/wordpress.git] / wp-includes / random_compat / random_bytes_libsodium.php
index 938cac92905eaaa35a6c915f9033313c87d6cf80..f802d4e12494623ec18668ecac090c0b20b8904e 100644 (file)
@@ -48,11 +48,13 @@ function random_bytes($bytes)
             'random_bytes(): $bytes must be an integer'
         );
     }
+
     if ($bytes < 1) {
         throw new Error(
             'Length must be greater than 0'
         );
     }
+
     /**
      * \Sodium\randombytes_buf() doesn't allow more than 2147483647 bytes to be
      * generated in one invocation.