lhash: use lock when TSAN not available for statistics gathering
authorPauli <pauli@openssl.org>
Wed, 12 Jan 2022 03:45:07 +0000 (14:45 +1100)
committerPauli <pauli@openssl.org>
Thu, 13 Jan 2022 10:46:34 +0000 (21:46 +1100)
commit43f132778b138870120d965f2fb61aa7411b78b2
treee6004ea6de1f485f7c32b8f79cf0c89244a1bb4f
parent5c41cee225094e6298799b709278b0431643fb1f
lhash: use lock when TSAN not available for statistics gathering

Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/17479)
crypto/lhash/lh_stats.c
crypto/lhash/lhash.c
crypto/lhash/lhash_local.h