summaryrefslogtreecommitdiffstats
path: root/ssl/quic/quic_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'ssl/quic/quic_local.h')
-rw-r--r--ssl/quic/quic_local.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ssl/quic/quic_local.h b/ssl/quic/quic_local.h
index d405052674..a20e92df2a 100644
--- a/ssl/quic/quic_local.h
+++ b/ssl/quic/quic_local.h
@@ -71,6 +71,10 @@ struct quic_conn_st {
QUIC_THREAD_ASSIST thread_assist;
#endif
+ /* If non-NULL, used instead of ossl_time_now(). Used for testing. */
+ OSSL_TIME (*override_now_cb)(void *arg);
+ void *override_now_cb_arg;
+
/* Have we started? */
unsigned int started : 1;