pajoye Thu, 16 Jun 2011 13:06:41 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=312209
Log: - did I not kill that already? (do not use rand_screen, pointless on server and not TS) Changed paths: U php/php-src/branches/PHP_5_3/ext/openssl/openssl.c U php/php-src/branches/PHP_5_4/ext/openssl/openssl.c U php/php-src/trunk/ext/openssl/openssl.c Modified: php/php-src/branches/PHP_5_3/ext/openssl/openssl.c =================================================================== --- php/php-src/branches/PHP_5_3/ext/openssl/openssl.c 2011-06-16 12:57:06 UTC (rev 312208) +++ php/php-src/branches/PHP_5_3/ext/openssl/openssl.c 2011-06-16 13:06:41 UTC (rev 312209) @@ -4900,10 +4900,6 @@ buffer = emalloc(buffer_length + 1); -#ifdef WINDOWS - RAND_screen(); -#endif - if ((strong_result = RAND_pseudo_bytes(buffer, buffer_length)) < 0) { efree(buffer); RETURN_FALSE; Modified: php/php-src/branches/PHP_5_4/ext/openssl/openssl.c =================================================================== --- php/php-src/branches/PHP_5_4/ext/openssl/openssl.c 2011-06-16 12:57:06 UTC (rev 312208) +++ php/php-src/branches/PHP_5_4/ext/openssl/openssl.c 2011-06-16 13:06:41 UTC (rev 312209) @@ -4920,10 +4920,6 @@ buffer = emalloc(buffer_length + 1); -#ifdef WINDOWS - RAND_screen(); -#endif - if ((strong_result = RAND_pseudo_bytes(buffer, buffer_length)) < 0) { efree(buffer); RETURN_FALSE; Modified: php/php-src/trunk/ext/openssl/openssl.c =================================================================== --- php/php-src/trunk/ext/openssl/openssl.c 2011-06-16 12:57:06 UTC (rev 312208) +++ php/php-src/trunk/ext/openssl/openssl.c 2011-06-16 13:06:41 UTC (rev 312209) @@ -4920,10 +4920,6 @@ buffer = emalloc(buffer_length + 1); -#ifdef WINDOWS - RAND_screen(); -#endif - if ((strong_result = RAND_pseudo_bytes(buffer, buffer_length)) < 0) { efree(buffer); RETURN_FALSE;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php