File php-openssl.patch of Package php73
diff -Pdpru php-7.3.33.orig/ext/openssl/openssl.c php-7.3.33/ext/openssl/openssl.c
--- php-7.3.33.orig/ext/openssl/openssl.c 2021-11-16 14:18:32.000000000 +0300
+++ php-7.3.33/ext/openssl/openssl.c 2024-07-16 13:54:40.863421946 +0300
@@ -1430,6 +1430,7 @@ PHP_MINIT_FUNCTION(openssl)
OpenSSL_add_all_ciphers();
OpenSSL_add_all_digests();
OpenSSL_add_all_algorithms();
+ OPENSSL_config(NULL);
#if !defined(OPENSSL_NO_AES) && defined(EVP_CIPH_CCM_MODE) && OPENSSL_VERSION_NUMBER < 0x100020000
EVP_add_cipher(EVP_aes_128_ccm());
diff -Pdpru php-7.3.33.orig/ext/openssl/xp_ssl.c php-7.3.33/ext/openssl/xp_ssl.c
--- php-7.3.33.orig/ext/openssl/xp_ssl.c 2021-11-16 14:18:32.000000000 +0300
+++ php-7.3.33/ext/openssl/xp_ssl.c 2024-07-16 13:56:42.196113026 +0300
@@ -1635,6 +1635,10 @@ int php_openssl_setup_crypto(php_stream
return FAILURE;
}
+#ifdef SSL_MODE_RELEASE_BUFFERS
+ SSL_CTX_set_mode(sslsock->ctx, SSL_MODE_RELEASE_BUFFERS);
+#endif
+
if (GET_VER_OPT("no_ticket") && zend_is_true(val)) {
ssl_ctx_options |= SSL_OP_NO_TICKET;
}