Don't register drbg_delete_thread_state twice
authorMatt Caswell <matt@openssl.org>
Wed, 15 Jan 2020 18:11:04 +0000 (18:11 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 20 Jan 2020 14:48:15 +0000 (14:48 +0000)
commit09a4cb9ec7ea9ccb4885588ba3e138b9f5f606c7
treee85df6eecd04e46363404545deed94e479f777a1
parent2dd04ca881414779e847a21e6be4e428257c25f1
Don't register drbg_delete_thread_state twice

drbg_delete_thread_state cleans up after both the public and the private
DRBG. It can be registered automtically by getting either of those DRBGs,
but it should not be registered twice.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10862)
crypto/rand/drbg_lib.c