Home
last modified time | relevance | path

Searched refs:fake_now_lock (Results 1 – 1 of 1) sorted by relevance

/openssl/test/helpers/
H A Dquictestlib.c82 static CRYPTO_RWLOCK *fake_now_lock = NULL; variable
300 if (fake_now_lock == NULL) { in qtest_create_quic_objects()
301 fake_now_lock = CRYPTO_THREAD_lock_new(); in qtest_create_quic_objects()
302 if (fake_now_lock == NULL) in qtest_create_quic_objects()
352 if (!CRYPTO_THREAD_write_lock(fake_now_lock)) in qtest_add_time()
355 CRYPTO_THREAD_unlock(fake_now_lock); in qtest_add_time()
362 if (!CRYPTO_THREAD_read_lock(fake_now_lock)) in qtest_get_time()
365 CRYPTO_THREAD_unlock(fake_now_lock); in qtest_get_time()
371 if (!CRYPTO_THREAD_write_lock(fake_now_lock)) in qtest_reset_time()
374 CRYPTO_THREAD_unlock(fake_now_lock); in qtest_reset_time()

Completed in 13 milliseconds