From 35f5c83d3611c710d1e123092d51254f6e888f2e Mon Sep 17 00:00:00 2001 From: terrafrost Date: Sat, 9 Mar 2013 21:15:01 -0600 Subject: [PATCH] Random: CS adjustment --- phpseclib/Crypt/Random.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phpseclib/Crypt/Random.php b/phpseclib/Crypt/Random.php index 667ba369..1796b2e9 100644 --- a/phpseclib/Crypt/Random.php +++ b/phpseclib/Crypt/Random.php @@ -53,7 +53,8 @@ * @return String * @access public */ -function crypt_random_string($length) { +function crypt_random_string($length) +{ // PHP_OS & "\xDF\xDF\xDF" == strtoupper(substr(PHP_OS, 0, 3)), but a lot faster if ((PHP_OS & "\xDF\xDF\xDF") === 'WIN') { // method 1. prior to PHP 5.3 this would call rand() on windows hence the function_exists('class_alias') call.