diff options
-rw-r--r-- | test/threadstest.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/threadstest.c b/test/threadstest.c index 73cc072af1..8e6aaf5404 100644 --- a/test/threadstest.c +++ b/test/threadstest.c @@ -62,6 +62,8 @@ static int test_lock(void) int res; res = TEST_true(CRYPTO_THREAD_read_lock(lock)) + && TEST_true(CRYPTO_THREAD_unlock(lock)) + && TEST_true(CRYPTO_THREAD_write_lock(lock)) && TEST_true(CRYPTO_THREAD_unlock(lock)); CRYPTO_THREAD_lock_free(lock); |