From: Pauli Date: Tue, 24 May 2022 08:20:27 +0000 (+1000) Subject: ssl: add a zero time macro X-Git-Tag: openssl-3.2.0-alpha1~2436 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16612c19290d712de65a7adcb043ba91165f3e0f;p=thirdparty%2Fopenssl.git ssl: add a zero time macro Reviewed-by: Tomas Mraz Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/18345) --- 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