openssl/ssl
Matt Caswell 2b8d815344 When calling ossl_crypto_condvar_wait_timeout() we must use real time
Although many of the QUIC tests use fake time, the time we pass to the
ossl_crypto_condvar_wait_timeout() must be a real time.

Passing fake time was causing the QUIC tserver test to hang because
ossl_crypto_convar_wait_timeout() always timed out immediately and never
relinquished the CPU.

If using fake time we adjust the time to real time just before using it.

Fixes #22020

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22301)
2023-10-10 08:17:43 +01:00
..
quic When calling ossl_crypto_condvar_wait_timeout() we must use real time 2023-10-10 08:17:43 +01:00
record
statem
bio_ssl.c
build.info
d1_lib.c Print record version for DTLSv1_listen() 2023-10-04 12:56:53 +02:00
d1_msg.c
d1_srtp.c
event_queue.c
methods.c
pqueue.c
priority_queue.c
s3_enc.c
s3_lib.c
s3_msg.c
ssl_asn1.c
ssl_cert_comp.c
ssl_cert_table.h
ssl_cert.c
ssl_ciph.c
ssl_conf.c
ssl_err_legacy.c
ssl_err.c
ssl_init.c
ssl_lib.c
ssl_local.h
ssl_mcnf.c
ssl_rsa_legacy.c
ssl_rsa.c
ssl_sess.c
ssl_stat.c
ssl_txt.c
ssl_utst.c
sslerr.h
t1_enc.c
t1_lib.c
t1_trce.c
tls13_enc.c
tls_depr.c
tls_srp.c