[php-src] PR #20748: Use `EVP_MD_CTX_destroy()` instead of `EVP_MD_CTX_free()`

From: Date: Sun, 21 Dec 2025 11:25:14 +0000
Subject: [php-src] PR #20748: Use `EVP_MD_CTX_destroy()` instead of `EVP_MD_CTX_free()`
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-34336@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/20748 Author: thg2k OpenSSL v1.1.0 renamed EVP_MD_CTX_(create|init|destroy) to EVP_MD_CTX_(new|reset|free) but [full support](https://github.com/openssl/openssl/commit/f8137a62d94c0a5809a4363b7b4aab3adcb8201c) for the old names is present via #defines. Moreover, in the same file and in the openssl extension the older names are still in use. As this is the **only thing** breaking build of PHP 8.3 branch on legacy systems (since 8.3.26), and as there is no harm in just using the older name, just use them and let people build 😄

« previous php.git-pulls (#34336) next »