]> git.ipfire.org Git - thirdparty/openssl.git/commit
Adjust rand_lib to use new thread-local mgmt api
authorNeil Horman <nhorman@openssl.org>
Thu, 12 Jun 2025 17:14:47 +0000 (13:14 -0400)
committerNeil Horman <nhorman@openssl.org>
Fri, 20 Jun 2025 17:01:39 +0000 (13:01 -0400)
commitce990ce83b55754df70b5abcb82e738fe3fc5c06
treecf2bc83212ef11a5695a71f8aa20d05812d4f87d
parent2cb068fb2259fe8a92d8d67bff7486ded5a31cf2
Adjust rand_lib to use new thread-local mgmt api

Rand instances create a thread-local storage key per context, so we need
to move them to the new api to avoid exhausting our thread-local storage
space at the Os level

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/rand/rand_lib.c