]> git.ipfire.org Git - thirdparty/openssl.git/commit
Add a multi-thread test for shared EVP_PKEYs
authorMatt Caswell <matt@openssl.org>
Tue, 26 Jan 2021 13:30:06 +0000 (13:30 +0000)
committerMatt Caswell <matt@openssl.org>
Tue, 2 Feb 2021 12:21:21 +0000 (12:21 +0000)
commita0134d293e907672e2717fe54ce6a4b3ae425388
treee5c1bbd31b62a714ee4f2cbc080aef615a78fc75
parent7ff9fdd4b31757f70080bd3fa2e633ca080408a4
Add a multi-thread test for shared EVP_PKEYs

EVP_PKEYs may be shared across mutliple threads. For example this is
common for users of libssl who provide a single EVP_PKEY private key for
an SSL_CTX, which is then shared between multiple threads for each SSL
object.

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13987)
test/recipes/90-test_threads.t
test/recipes/90-test_threads_data/rsakey.pem [new file with mode: 0644]
test/threadstest.c