diff options
author | tb <> | 2024-02-18 16:28:38 +0000 |
---|---|---|
committer | tb <> | 2024-02-18 16:28:38 +0000 |
commit | f3cff8b6438de90dfb152c94ee691fd4b59b0890 (patch) | |
tree | 6a60bd14d56bf5ac3d9034a6b7ba3be4736b59dd /src/lib/libcrypto/Makefile | |
parent | babf480e3dc1d1c868511b40c31061c5ee5d75d1 (diff) | |
download | openbsd-f3cff8b6438de90dfb152c94ee691fd4b59b0890.tar.gz openbsd-f3cff8b6438de90dfb152c94ee691fd4b59b0890.tar.bz2 openbsd-f3cff8b6438de90dfb152c94ee691fd4b59b0890.zip |
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 'src/lib/libcrypto/Makefile')
-rw-r--r-- | src/lib/libcrypto/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/Makefile b/src/lib/libcrypto/Makefile index 2ac252aabc..0ddf74246c 100644 --- a/src/lib/libcrypto/Makefile +++ b/src/lib/libcrypto/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: Makefile,v 1.167 2024/01/27 17:14:33 tb Exp $ | 1 | # $OpenBSD: Makefile,v 1.168 2024/02/18 16:28:37 tb Exp $ |
2 | 2 | ||
3 | LIB= crypto | 3 | LIB= crypto |
4 | LIBREBUILD=y | 4 | LIBREBUILD=y |
@@ -705,6 +705,7 @@ HDRS=\ | |||
705 | ${LCRYPTO_SRC}/aes/aes.h \ | 705 | ${LCRYPTO_SRC}/aes/aes.h \ |
706 | ${LCRYPTO_SRC}/asn1/asn1.h \ | 706 | ${LCRYPTO_SRC}/asn1/asn1.h \ |
707 | ${LCRYPTO_SRC}/asn1/asn1t.h \ | 707 | ${LCRYPTO_SRC}/asn1/asn1t.h \ |
708 | ${LCRYPTO_SRC}/asn1/posix_time.h \ | ||
708 | ${LCRYPTO_SRC}/bf/blowfish.h \ | 709 | ${LCRYPTO_SRC}/bf/blowfish.h \ |
709 | ${LCRYPTO_SRC}/bio/bio.h \ | 710 | ${LCRYPTO_SRC}/bio/bio.h \ |
710 | ${LCRYPTO_SRC}/bn/bn.h \ | 711 | ${LCRYPTO_SRC}/bn/bn.h \ |