From 2241d0e6f45df686270dc53b9e029189ee2e0a5a Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Wed, 6 Nov 2013 23:12:00 +0100 Subject: [PATCH] Partial revert of 9f1108e52e4787610a488868d774992e1ca28979. This change should not be necessary. --- phpseclib/Crypt/Random.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/phpseclib/Crypt/Random.php b/phpseclib/Crypt/Random.php index e38bdf8d..8532aab5 100644 --- a/phpseclib/Crypt/Random.php +++ b/phpseclib/Crypt/Random.php @@ -46,9 +46,7 @@ * * @access private */ -if (!defined('CRYPT_RANDOM_IS_WINDOWS')) { - define('CRYPT_RANDOM_IS_WINDOWS', strtoupper(substr(PHP_OS, 0, 3)) === 'WIN'); -} +define('CRYPT_RANDOM_IS_WINDOWS', strtoupper(substr(PHP_OS, 0, 3)) === 'WIN'); /** * Generate a random string.