[packages/php/PHP_5_5] Rel 30. Add workaround for https://bugs.php.net/bug.php?id=79589
arekm
arekm at pld-linux.org
Tue Mar 29 16:29:55 CEST 2022
commit 3fd39e70ee98bb0e4e736bbd4fa910a08ef45152
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Mar 29 16:28:51 2022 +0200
Rel 30. Add workaround for https://bugs.php.net/bug.php?id=79589
openssl.patch | 13 +++++++++++++
php.spec | 2 +-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/php.spec b/php.spec
index 1ca8bfc..21f79b0 100644
--- a/php.spec
+++ b/php.spec
@@ -140,7 +140,7 @@ ERROR: You need to select at least one Apache SAPI to build shared modules.
%undefine with_filter
%endif
-%define rel 29
+%define rel 30
%define orgname php
%define ver_suffix 55
%define php_suffix %{!?with_default_php:%{ver_suffix}}
diff --git a/openssl.patch b/openssl.patch
index 4d610ba..237b750 100644
--- a/openssl.patch
+++ b/openssl.patch
@@ -1009,3 +1009,16 @@ diff -ur php-5.5.38.org/ext/openssl/openssl.c php-5.5.38/ext/openssl/openssl.c
} else if (strncmp(proto, "tls", protolen) == 0) {
sslsock->enable_on_connect = 1;
sslsock->method = STREAM_CRYPTO_METHOD_TLS_CLIENT;
+--- php-5.5.38/ext/openssl/xp_ssl.c~ 2022-03-29 16:25:01.000000000 +0200
++++ php-5.5.38/ext/openssl/xp_ssl.c 2022-03-29 16:27:12.643215607 +0200
+@@ -445,6 +445,10 @@ static inline int php_openssl_setup_cryp
+ }
+ }
+
++#ifdef SSL_OP_IGNORE_UNEXPECTED_EOF
++ ssl_ctx_options |= SSL_OP_IGNORE_UNEXPECTED_EOF;
++#endif
++
+ /* need to do slightly different things, based on client/server method,
+ * so lets remember which method was selected */
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/3fd39e70ee98bb0e4e736bbd4fa910a08ef45152
More information about the pld-cvs-commit
mailing list