diff options
author | Matthias St. Pierre <matthias.st.pierre@ncp-e.com> | 2023-10-16 23:48:03 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2023-10-20 09:48:34 +0100 |
commit | 5516d20226c496c2b22fa741698b4d48dad0428f (patch) | |
tree | d257c2536b7eb711cdc47fbd9d0495507bdde172 /CODE-OF-CONDUCT.md | |
parent | 098f27f9ef8be2a418f76896ee3c824e8709fcf7 (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 'CODE-OF-CONDUCT.md')
0 files changed, 0 insertions, 0 deletions