[openssl/openssl] 21f0b8: Fix memory leaks in ssl_old_test.c
noreply at github.com
Wed Sep 13 12:33:32 UTC 2023
Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
Date: 2023-09-13 (Wed, 13 Sep 2023)
Fix memory leaks in ssl_old_test.c
This fixes a few memory leaks reported in #22049.
If SSL_CTX_set0_tmp_dh_pkey rejects the temp dh key
due to security restrictions (even when @SECLEVEL=0 is used!)
then the caller has to delete the PKEY object.
That is different to how the deprecated
SSL_CTX_set_tmp_dh_pkey was designed to work.
Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22060)
More information about the openssl-commits