test: fix problem with threads test using default library context.
authorPauli <pauli@openssl.org>
Tue, 30 Mar 2021 02:27:44 +0000 (12:27 +1000)
committerPauli <pauli@openssl.org>
Thu, 8 Apr 2021 07:46:35 +0000 (17:46 +1000)
commita135dea4e024ea6750be25859c1d613789a4d575
treec32c72cae5da843bb19ce9979cd42b9845c2f4ca
parent860ecfd70022fa5700c7fb129845129b4c674ecd
test: fix problem with threads test using default library context.

Also add a new test that deliberately tests the default library context.

Fixes #14720

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