]> git.ipfire.org Git - thirdparty/openssl.git/commit
ossl_decoder_cache_flush(): Do not raise an error if there is no cache
authorTomas Mraz <tomas@openssl.org>
Mon, 4 Dec 2023 17:01:28 +0000 (18:01 +0100)
committerTomas Mraz <tomas@openssl.org>
Wed, 6 Dec 2023 12:59:13 +0000 (13:59 +0100)
commit0541fa7802cf0c3a9b28d126066c909736fc5ec8
treebb97eea255fa8b209f0b3b4cf3f326128f8d9a01
parent4c62c566486bac73dc6ffb665e5b5262bac5dd90
ossl_decoder_cache_flush(): Do not raise an error if there is no cache

This function can be called during OPENSSL_cleanup() when
the cache was already flushed and deallocated.

Fixes #22939

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22941)
crypto/encode_decode/decoder_pkey.c