summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMatthias St. Pierre <matthias.st.pierre@ncp-e.com>2023-10-16 23:48:03 +0200
committerMatt Caswell <matt@openssl.org>2023-10-20 09:48:34 +0100
commit5516d20226c496c2b22fa741698b4d48dad0428f (patch)
treed257c2536b7eb711cdc47fbd9d0495507bdde172 /util
parent098f27f9ef8be2a418f76896ee3c824e8709fcf7 (diff)
rand: add callbacks to cleanup the user entropy resp. nonce
The `get_user_{entropy,nonce}` callbacks were add recently to the dispatch table in commit 4cde7585ce8e. Instead of adding corresponding `cleanup_user_{entropy,nonce}` callbacks, the `cleanup_{entropy,nonce}` callbacks were reused. This can cause a problem in the case where the seed source is replaced by a provider: the buffer gets allocated by the provider but cleared by the core. Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/22423)
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions