]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mod_md: Keep compat with openssl < 1.1
authorYann Ylavic <ylavic@apache.org>
Mon, 8 Jul 2024 15:06:14 +0000 (15:06 +0000)
committerYann Ylavic <ylavic@apache.org>
Mon, 8 Jul 2024 15:06:14 +0000 (15:06 +0000)
commitc6c9a741b1d96d1b976c0c994edd9de230482102
treec3cd19dd7693f427ec83fdd83ae3f35a29ea3d8a
parent19c200c59148b902154fb246a1a211016c846aa5
mod_md: Keep compat with openssl < 1.1

EVP_PKEY_get0_RSA() does not exist in openssl < 1.1, use EVP_PKEY_get1_RSA()
instead, hence RSA_free() the returned ref to avoid a leak.

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