Commit 80ae7285 authored by Andy Polyakov's avatar Andy Polyakov
Browse files

crypto/init.c: use destructor_key even as guard in OPENSSL_thread_stop.



Problem was that Windows threads that were terminating before libcrypto
was initialized were referencing uninitialized or possibly even
unrelated thread local storage index.

Reviewed-by: default avatarKurt Roeckx <kurt@roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/6752)
parent ceb8e32c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment