25 RCSID(
"$Id: 315d76d2a35ff8ed5a33cf1ec64b76d1fae38e01 $")
29 #define LOG_PREFIX "tls"
30 #include <freeradius-devel/util/strerror.h>
35 #include <openssl/ssl.h>
50 time_t not_before, not_after;
74 "Validity period (notAfter) ends %pV, current time is %pV",
85 "Validity period (notBefore) starts %pV, current time is %pV",
#define USES_APPLE_DEPRECATED_API
#define fr_time()
Allow us to arbitrarily manipulate time.
static fr_time_t fr_time_from_sec(time_t when)
Convert a time_t (wallclock time) to a fr_time_t (internal time)
#define fr_time_gt(_a, _b)
static fr_unix_time_t fr_unix_time_from_time(time_t time)
Convert a time_t into out internal fr_unix_time_t.
static fr_unix_time_t fr_time_to_unix_time(fr_time_t when)
Convert an fr_time_t (internal time) to our version of unix time (wallclock time)
#define fr_time_lt(_a, _b)
#define fr_strerror_printf(_fmt,...)
Log to thread local error buffer.
#define fr_strerror_const_push(_msg)
int fr_tls_utils_asn1time_to_epoch(time_t *out, ASN1_TIME const *asn1)
Convert OpenSSL's ASN1_TIME to an epoch time.
#define fr_box_date(_val)