Simplify the QUIC time override handling
Centralise the storage of the override in the QUIC_ENGINE rather than in the QUIC_CONNECTION. We can now set the override on any type of QUIC SSL object as needed. Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Viktor Dukhovni <viktor@openssl.org> (Merged from https://github.com/openssl/openssl/pull/25457)
This commit is contained in:
parent
f23da50318
commit
ac69d0649a
12 changed files with 65 additions and 79 deletions
|
@ -78,7 +78,7 @@ int FuzzerTestOneInput(const uint8_t *buf, size_t len)
|
|||
goto end;
|
||||
|
||||
fake_now = ossl_ms2time(1);
|
||||
if (!ossl_quic_conn_set_override_now_cb(client, fake_now_cb, NULL))
|
||||
if (!ossl_quic_set_override_now_cb(client, fake_now_cb, NULL))
|
||||
goto end;
|
||||
|
||||
peer_addr = BIO_ADDR_new();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue