Ensure the thread keys are always allocated in the same order
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Sat, 21 Apr 2018 13:41:42 +0000 (15:41 +0200)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Sat, 21 Apr 2018 13:41:42 +0000 (15:41 +0200)
commitbf21fe935a979c08292d06553ef8c9a49382208c
tree9ebf32e165296264f8d5ef8efee422f9b304d80d
parent5fc89c1af837026b5812526ef6f519bf7ca42f16
Ensure the thread keys are always allocated in the same order

Back-port of #5911
Fixes: #5899
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6037)
crypto/bio/b_addr.c
crypto/engine/eng_lib.c
crypto/err/err.c
crypto/ex_data.c
crypto/include/internal/cryptlib_int.h
crypto/include/internal/err_int.h
crypto/init.c
include/openssl/crypto.h