CVSROOT: /cvs Module name: src Changes by: t...@cvs.openbsd.org 2024/02/18 09:28:38
Modified files: lib/libcrypto : Makefile Symbols.namespace crypto.h lib/libcrypto/asn1: a_time_posix.c asn1.h asn1_local.h Added files: lib/libcrypto/asn1: posix_time.h lib/libcrypto/hidden/openssl: posix_time.h Log message: 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