ssl: better support TSAN operations master
authorPauli <ppzgs1@gmail.com>
Thu, 13 Jan 2022 01:19:23 +0000 (12:19 +1100)
committerPauli <ppzgs1@gmail.com>
Wed, 19 Jan 2022 10:51:47 +0000 (21:51 +1100)
commitacce055778ecbf72e06a254b3a9bf2a2907e5170
tree9e3cb9f0f33b9bc76206129c0883886001b63d33
parented16b0fc282d29f755e656043e8a70553ef7bea5
ssl: better support TSAN operations

For platforms that do not have native TSAN support, locking needs to be used
instead.  This adds the locking.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17489)
ssl/ssl_lib.c
ssl/ssl_local.h
ssl/ssl_sess.c
ssl/statem/extensions.c
ssl/statem/statem_clnt.c
ssl/statem/statem_lib.c