]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
mod_ssl: follow up to r1876934: OSSL_PARAM_construct_*() make no copy.
authorYann Ylavic <ylavic@apache.org>
Fri, 24 Apr 2020 17:04:28 +0000 (17:04 +0000)
committerYann Ylavic <ylavic@apache.org>
Fri, 24 Apr 2020 17:04:28 +0000 (17:04 +0000)
commit00c85f8083b56375d2c3344050373ed3b69c2019
tree230ceb6efe0ca5e4ec63f04277df9fbe94b026f3
parent4d1224588d21aad8a7ec0804e3b338797fdf6efe
mod_ssl: follow up to r1876934: OSSL_PARAM_construct_*() make no copy.

Pass OSSL_PARAM_construct_octet_string() an explicit copy of the MAC key
to avoid saving a pointer to stack.

While at it, cleanup secret data from buf before leaving.

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