Patch does not apply and is not needed.

This commit is contained in:
ajacoutot 2015-04-27 05:46:50 +00:00
parent 943d3bcb0a
commit a41cb89233

View File

@ -1,17 +0,0 @@
$OpenBSD: patch-ext_openssl_openssl_c,v 1.2 2014/08/23 10:45:51 sthen Exp $
--- ext/openssl/openssl.c.orig.port Thu Aug 21 09:45:02 2014
+++ ext/openssl/openssl.c Fri Aug 22 14:46:19 2014
@@ -927,11 +927,13 @@ static int php_openssl_load_rand_file(const char * fil
if (file == NULL) {
file = RAND_file_name(buffer, sizeof(buffer));
+#ifdef HAVE_SSL_RAND_EGD
} else if (RAND_egd(file) > 0) {
/* if the given filename is an EGD socket, don't
* write anything back to it */
*egdsocket = 1;
return SUCCESS;
+#endif
}
if (file == NULL || !RAND_load_file(file, -1)) {
if (RAND_status() == 0) {