From 645071345f1d8f43640e53ec897fd6ff3941a00a Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Mon, 9 Nov 2015 04:49:53 +0000 Subject: [PATCH] Random_Compat: Bump the OpenSSL requirement for windows servers to 5.4.1 while the upstream issue is resolved. Before PHP 5.4.1 the OpenSSL extension used a OpenSSL provided function which is seemingly slow under some circumstances, PHP 5.4.1+ uses the windows crypto API. Fixes #34409 git-svn-id: https://develop.svn.wordpress.org/trunk@35587 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/random_compat/random.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/random_compat/random.php b/src/wp-includes/random_compat/random.php index ebc7bd31cd..6b28d4672e 100644 --- a/src/wp-includes/random_compat/random.php +++ b/src/wp-includes/random_compat/random.php @@ -111,7 +111,7 @@ if (PHP_VERSION_ID < 70000) { PHP_VERSION_ID >= 50300 ) || // Windows with PHP >= 5.3.4 - PHP_VERSION_ID >= 50304 + PHP_VERSION_ID >= 50401 // Modification from upstream, see #34409 ) ) { // See random_bytes_openssl.php