[packages/php/PHP_5_4] Rel 36. Add workaround for https://bugs.php.net/bug.php?id=79589

arekm arekm at pld-linux.org
Tue Mar 29 16:32:52 CEST 2022


commit 9f2cde1ab51cbffadb09199336727936f8e6a38b
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Mar 29 16:32:13 2022 +0200

    Rel 36. 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 db0f377..fe50e69 100644
--- a/php.spec
+++ b/php.spec
@@ -138,7 +138,7 @@ ERROR: You need to select at least one Apache SAPI to build shared modules.
 %undefine	with_filter
 %endif
 
-%define		rel	35
+%define		rel	36
 %define		orgname	php
 %define		ver_suffix 54
 %define		php_suffix %{!?with_default_php:%{ver_suffix}}
diff --git a/openssl.patch b/openssl.patch
index a3efe50..6088228 100644
--- a/openssl.patch
+++ b/openssl.patch
@@ -1016,3 +1016,16 @@ diff -ur php-5.4.45/ext/openssl.org/openssl.c php-5.4.45/ext/openssl/openssl.c
  	REGISTER_LONG_CONSTANT("OPENSSL_NO_PADDING", RSA_NO_PADDING, CONST_CS|CONST_PERSISTENT);
  	REGISTER_LONG_CONSTANT("OPENSSL_PKCS1_OAEP_PADDING", RSA_PKCS1_OAEP_PADDING, CONST_CS|CONST_PERSISTENT);
  
+--- 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/9f2cde1ab51cbffadb09199336727936f8e6a38b



More information about the pld-cvs-commit mailing list