crypto/init.c: improve destructor_key's portability.
authorAndy Polyakov <appro@openssl.org>
Thu, 16 Aug 2018 07:26:12 +0000 (09:26 +0200)
committerAndy Polyakov <appro@openssl.org>
Wed, 22 Aug 2018 19:46:01 +0000 (21:46 +0200)
commit0b1319ba94c85af9e87308e0d573d1260a802f53
treec3b596b7aceb45eabfd3e0049a087db85c6f1770
parent2d162ea93f6512909454ee10597b63206862a056
crypto/init.c: improve destructor_key's portability.

It was assumed that CRYPTO_THREAD_LOCAL is universally scalar type,
which doesn't appear to hold true.

Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/6976)
crypto/init.c