]> git.ipfire.org Git - thirdparty/openssl.git/commit
test/threadstest.c: Add a test to load providers concurrently
authorRichard Levitte <levitte@openssl.org>
Mon, 1 Mar 2021 15:31:34 +0000 (16:31 +0100)
committerRichard Levitte <levitte@openssl.org>
Thu, 4 Mar 2021 15:09:02 +0000 (16:09 +0100)
commit2f17e978a0ec5becda8a61dcf3e7840740ccdfd3
treee146eedee4271f79e6c948cdafc5acac26ea7749
parent8c631cfaa1f812ed990053c1b0c73f3a3f369aca
test/threadstest.c: Add a test to load providers concurrently

If we don't synchronize properly in the core provider code, and build
with a thread sanitizer, this should cause a crash.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14354)
test/threadstest.c