From 232d3e27254902b2dd37280525d8b9f9c291ef4e Mon Sep 17 00:00:00 2001 From: terrafrost Date: Wed, 1 May 2013 08:13:41 -0500 Subject: [PATCH] Random: remove comment for old code --- phpseclib/Crypt/Random.php | 1 - 1 file changed, 1 deletion(-) diff --git a/phpseclib/Crypt/Random.php b/phpseclib/Crypt/Random.php index 1ac8c526..475ec4f2 100644 --- a/phpseclib/Crypt/Random.php +++ b/phpseclib/Crypt/Random.php @@ -62,7 +62,6 @@ define('CRYPT_RANDOM_IS_WINDOWS', strtoupper(substr(PHP_OS, 0, 3)) === 'WIN'); */ function crypt_random_string($length) { - // PHP_OS & "\xDF\xDF\xDF" == strtoupper(substr(PHP_OS, 0, 3)), but a lot faster if (CRYPT_RANDOM_IS_WINDOWS) { // method 1. prior to PHP 5.3 this would call rand() on windows hence the function_exists('class_alias') call. // ie. class_alias is a function that was introduced in PHP 5.3