]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix fips cleanup of master key
authorNeil Horman <nhorman@openssl.org>
Tue, 17 Jun 2025 17:32:44 +0000 (13:32 -0400)
committerNeil Horman <nhorman@openssl.org>
Fri, 20 Jun 2025 17:01:39 +0000 (13:01 -0400)
commit32559a6035b7ec2155c0fe4e2199834c639a981b
treee392fc127f3877a61aaa25e23a03c06bcc29122d
parent24f0715e00a6ec1d33cf9bc602444b465bafcbb6
Fix fips cleanup of master key

With the conversion to a fixed array, we can no longer just clean the
top level sparse array, as we don't enjoy the NULL check within the
sa_doall loop.

Add a NULL check in the fips cleanup routine to make up for this

Reviewed-by: Saša Nedvědický <sashan@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27794)
crypto/threads_common.c