Provide an ability to deregister thread stop handlers
authorMatt Caswell <matt@openssl.org>
Tue, 18 Jun 2019 17:37:38 +0000 (18:37 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 19 Jun 2019 10:54:34 +0000 (11:54 +0100)
commit6913f5fe05a38fa72213b5b5d1f41ef10ca908bd
tree386fad30f5f06eaed4cdadcd8a24a36b4e09aff1
parentd73458d17ac7e44270a2bcbace45ab99334754b4
Provide an ability to deregister thread stop handlers

If a provider gets unloaded then any thread stop handlers that it had
registered will be left hanging. We should clean them up before tearing
down the provider.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9186)
crypto/async/async.c
crypto/err/err.c
crypto/include/internal/cryptlib_int.h
crypto/init.c
crypto/initthread.c
crypto/provider_core.c
crypto/rand/drbg_lib.c