Home
last modified time | relevance | path

Searched refs:posix_time (Results 1 – 5 of 5) sorted by relevance

/openbsd-src/lib/libcrypto/asn1/
H A Da_time_posix.c209 int64_t posix_time; in asn1_time_tm_to_time_t() local
211 if (!OPENSSL_tm_to_posix(tm, &posix_time)) in asn1_time_tm_to_time_t()
217 (posix_time > INT32_MAX || posix_time < INT32_MIN)) in asn1_time_tm_to_time_t()
221 *out = posix_time; in asn1_time_tm_to_time_t()
228 int64_t posix_time = *time; in asn1_time_time_t_to_tm() local
230 return OPENSSL_posix_to_tm(posix_time, out_tm); in asn1_time_time_t_to_tm()
251 int64_t posix_time; in OPENSSL_gmtime_adj() local
253 if (!OPENSSL_tm_to_posix(tm, &posix_time)) in OPENSSL_gmtime_adj()
260 posix_time += offset_day * SECS_PER_DAY; in OPENSSL_gmtime_adj()
262 if (posix_time > 0 && offset_sec > INT64_MAX - posix_time) in OPENSSL_gmtime_adj()
[all …]
/openbsd-src/lib/libtls/
H A Dtls_conninfo.c22 #include <openssl/posix_time.h>
31 int64_t posix_time; in tls_convert_notafter() local
36 if (!OPENSSL_tm_to_posix(tm, &posix_time)) in tls_convert_notafter()
38 if (posix_time < INT32_MIN) in tls_convert_notafter()
40 *out_time = (posix_time > INT32_MAX) ? INT32_MAX : posix_time; in tls_convert_notafter()
/openbsd-src/lib/libcrypto/hidden/openssl/
H A Dposix_time.h22 #include_next <openssl/posix_time.h>
/openbsd-src/regress/lib/libcrypto/asn1/
H A Dasn1time.c20 #include <openssl/posix_time.h>
645 time_t posix_time; in asn1_time_overflow()
665 if (OPENSSL_timegm(&overflow_year, &posix_time)) { in asn1_time_overflow()
670 if (OPENSSL_timegm(&overflow_month, &posix_time)) { in asn1_time_overflow()
642 time_t posix_time; asn1_time_overflow() local
/openbsd-src/lib/libcrypto/
H A DMakefile643 ${LCRYPTO_SRC}/asn1/posix_time.h \