From 16612c19290d712de65a7adcb043ba91165f3e0f Mon Sep 17 00:00:00 2001 From: Pauli Date: Tue, 24 May 2022 18:20:27 +1000 Subject: [PATCH] ssl: add a zero time macro Reviewed-by: Tomas Mraz Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/18345) --- include/internal/time.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/internal/time.h b/include/internal/time.h index b413ecaf6ec..4765274f17f 100644 --- a/include/internal/time.h +++ b/include/internal/time.h @@ -21,6 +21,9 @@ /* Macro representing the most distant future time */ # define OSSL_TIME_INFINITY (~(OSSL_TIME)0) +/* Macro that's guaranteed to be now or before */ +# define OSSL_TIME_IMMEDIATE 0 + /* * Internal type defining a time. * The time datum is Unix's 1970 and at nanosecond precision, this gives -- 2.47.2