]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
md_crypt: Fix potential memory leak with openssl < 3.
authorYann Ylavic <ylavic@apache.org>
Mon, 6 Nov 2023 10:53:28 +0000 (10:53 +0000)
committerYann Ylavic <ylavic@apache.org>
Mon, 6 Nov 2023 10:53:28 +0000 (10:53 +0000)
commiteb6a9b7bb66f1ecc9abd538cb69a21636d9125f0
tree9cbff88c26af02a33f44fa0feda05b549a967323
parentee3449d71e1187ad5432afde6c53418a32ae73ea
md_crypt: Fix potential memory leak with openssl < 3.

EVP_PKEY_get1_RSA()'s returned value should be EVP_PKEY_free()d, but
we can use EVP_PKEY_get0_RSA() here.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1913616 13f79535-47bb-0310-9956-ffa450edef68
modules/md/md_crypt.c