openssl/include/internal
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
..
__DECC_INCLUDE_EPILOGUE.H
__DECC_INCLUDE_PROLOGUE.H
asn1.h
bio_addr.h
bio_tfo.h Remove repeated words 2023-09-11 10:15:30 +02:00
bio.h
common.h Copyright year updates 2023-09-07 09:59:15 +01:00
comp.h
conf.h
constant_time.h
core.h
cryptlib.h Copyright year updates 2023-09-07 09:59:15 +01:00
dane.h
deprecated.h
der.h
deterministic_nonce.h
dso.h
dsoerr.h
e_os.h Remove use of _Static_assert 2023-09-15 09:20:05 +10:00
endian.h Copyright year updates 2023-09-07 09:59:15 +01:00
err.h
event_queue.h Copyright year updates 2023-09-07 09:59:15 +01:00
ffc.h Copyright year updates 2023-09-07 09:59:15 +01:00
hpke_util.h
ktls.h
list.h
namemap.h
nelem.h
numbers.h Copyright year updates 2023-09-07 09:59:15 +01:00
o_dir.h
packet_quic.h Copyright year updates 2023-09-07 09:59:15 +01:00
packet.h Copyright year updates 2023-09-07 09:59:15 +01:00
param_build_set.h
param_names.h.in params: provide a faster TRIE based param lookup. 2023-06-02 15:13:20 +10:00
params.h params: add helper functions to allocate & copy params 2023-04-26 08:01:46 +10:00
passphrase.h
priority_queue.h
property.h
propertyerr.h
provider.h Copyright year updates 2023-09-07 09:59:15 +01:00
quic_ackm.h Remove repeated words 2023-09-11 10:15:30 +02:00
quic_cc.h Copyright year updates 2023-09-07 09:59:15 +01:00
quic_cfq.h Copyright year updates 2023-09-07 09:59:15 +01:00
quic_channel.h Copyright year updates 2023-09-07 09:59:15 +01:00
quic_demux.h Copyright year updates 2023-09-07 09:59:15 +01:00
quic_error.h Copyright year updates 2023-09-07 09:59:15 +01:00
quic_fc.h Copyright year updates 2023-09-07 09:59:15 +01:00
quic_fifd.h Copyright year updates 2023-09-07 09:59:15 +01:00
quic_reactor.h Copyright year updates 2023-09-07 09:59:15 +01:00
quic_record_rx.h Copyright year updates 2023-09-07 09:59:15 +01:00
quic_record_tx.h Copyright year updates 2023-09-07 09:59:15 +01:00
quic_record_util.h Copyright year updates 2023-09-07 09:59:15 +01:00
quic_rx_depack.h Copyright year updates 2023-09-07 09:59:15 +01:00
quic_sf_list.h Copyright year updates 2023-09-07 09:59:15 +01:00
quic_ssl.h Fix the SSL_CIPHER_find() function when used with a QCSO 2023-09-12 15:29:00 +02:00
quic_statm.h Copyright year updates 2023-09-07 09:59:15 +01:00
quic_stream_map.h Copyright year updates 2023-09-07 09:59:15 +01:00
quic_stream.h Copyright year updates 2023-09-07 09:59:15 +01:00
quic_thread_assist.h When calling ossl_crypto_condvar_wait_timeout() we must use real time 2023-10-10 08:17:43 +01:00
quic_tls.h Copyright year updates 2023-09-07 09:59:15 +01:00
quic_tserver.h Add a test for using a PSK with QUIC 2023-09-12 15:29:00 +02:00
quic_txp.h Copyright year updates 2023-09-07 09:59:15 +01:00
quic_txpim.h Copyright year updates 2023-09-07 09:59:15 +01:00
quic_types.h Copyright year updates 2023-09-07 09:59:15 +01:00
quic_vlint.h Copyright year updates 2023-09-07 09:59:15 +01:00
quic_wire_pkt.h Copyright year updates 2023-09-07 09:59:15 +01:00
quic_wire.h Copyright year updates 2023-09-07 09:59:15 +01:00
recordmethod.h Remove repeated words 2023-09-11 10:15:30 +02:00
refcount.h Copyright year updates 2023-09-07 09:59:15 +01:00
ring_buf.h Copyright year updates 2023-09-07 09:59:15 +01:00
safe_math.h
sha3.h
sizes.h
sm3.h
sockets.h Exclude include of poll.h from NonStop builds - not defined on platform. 2023-09-08 17:21:38 +01:00
ssl3_cbc.h Copyright year updates 2023-09-07 09:59:15 +01:00
ssl.h QUIC: Make TLS1_FLAGS_QUIC private 2023-09-01 14:02:50 +01:00
sslconf.h
statem.h Copyright year updates 2023-09-07 09:59:15 +01:00
symhacks.h
thread_arch.h Copyright year updates 2023-09-07 09:59:15 +01:00
thread_once.h
thread.h
time.h Copyright year updates 2023-09-07 09:59:15 +01:00
tlsgroups.h
tsan_assist.h
uint_set.h
unicode.h