File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ PHP NEWS
1111- MySQLnd:
1212 . Fixed potential heap corruption due to alignment mismatch. (cmb)
1313
14+ - OpenSSL:
15+ . Fixed missing clean up of OpenSSL engine list - attempt to fix GH-8620.
16+ (Jakub Zelenka)
17+
1418- PDO_ODBC:
1519 . Fixed bug GH-9372 (HY010 when binding overlong parameter). (cmb)
1620
Original file line number Diff line number Diff line change 6161#include <openssl/param_build.h>
6262#endif
6363
64+ #if OPENSSL_VERSION_NUMBER < 0x10100000L && !defined(OPENSSL_NO_ENGINE )
65+ #include <openssl/engine.h>
66+ #endif
67+
6468/* Common */
6569#include <time.h>
6670
@@ -1312,6 +1316,11 @@ PHP_MSHUTDOWN_FUNCTION(openssl)
13121316#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined (LIBRESSL_VERSION_NUMBER )
13131317 EVP_cleanup ();
13141318
1319+ #ifndef OPENSSL_NO_ENGINE
1320+ /* Free engine list initialized by OPENSSL_config */
1321+ ENGINE_cleanup ();
1322+ #endif
1323+
13151324 /* prevent accessing locking callback from unloaded extension */
13161325 CRYPTO_set_locking_callback (NULL );
13171326 /* free allocated error strings */
You can’t perform that action at this time.
0 commit comments