diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2024-02-18 16:28:39 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2024-02-18 16:28:39 +0000 |
commit | f02316e7d7554260de84d02c60d31a22e9661f67 (patch) | |
tree | 087181349497550f1101e8d2daa9774cc0459eac /lib/libcrypto/man/ASN1_TIME_set.3 | |
parent | 0caa1944b896cffd36d7b63871332540c3040187 (diff) |
Add posix_time.h from BoringSSL
This is prepares to expose some internal API as OPENSSL_tm_to_posix() and
OPENSSL_posix_to_tm(). They will be used in libtls and ocspcheck(8) to get
rid of the portability nightmare that is timegm().
Also fix the location of OPENSSL_gmtime() and OPENSSL_timegm() (this API
is not yet exposed). The former is from OpenSSL and surprisingly lives in
crypto.h, not asn1.h, and the latter is BoringSSL API and lives in the new
posix_time.h.
Initial diff from beck, this pulls in further upstream work after review
feedback.
ok jsing
Diffstat (limited to 'lib/libcrypto/man/ASN1_TIME_set.3')
0 files changed, 0 insertions, 0 deletions