From 8aafb76a8158d7ac31d7121d11a1e02b8caff6b2 Mon Sep 17 00:00:00 2001 From: Bob Beck Date: Mon, 13 Nov 2023 12:46:08 +0000 Subject: Prepare to expose OPENSSL_gmtime and OPENSSL_timegm as public This matches when BoringSSL has done, and allows for getting rid of the dependency on system timegm() and gmtime() in libtls. which will make life easier for portable, and remove our dependency on the potentially very slow system versions. ok tb@ - tb will handle the minor bump bits and expose on the next minor bump CVS :---------------------------------------------------------------------- --- lib/libcrypto/hidden/openssl/asn1.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/libcrypto/hidden/openssl') diff --git a/lib/libcrypto/hidden/openssl/asn1.h b/lib/libcrypto/hidden/openssl/asn1.h index fb1393f2a41..11db7b9902e 100644 --- a/lib/libcrypto/hidden/openssl/asn1.h +++ b/lib/libcrypto/hidden/openssl/asn1.h @@ -1,4 +1,4 @@ -/* $OpenBSD: asn1.h,v 1.6 2023/07/28 10:33:13 tb Exp $ */ +/* $OpenBSD: asn1.h,v 1.7 2023/11/13 12:46:07 beck Exp $ */ /* * Copyright (c) 2023 Bob Beck * @@ -249,5 +249,7 @@ LCRYPTO_USED(SMIME_text); LCRYPTO_USED(ERR_load_ASN1_strings); LCRYPTO_USED(ASN1_time_parse); LCRYPTO_USED(ASN1_time_tm_cmp); +LCRYPTO_USED(OPENSSL_gmtime); +LCRYPTO_USED(OPENSSL_timegm); #endif /* _LIBCRYPTO_ASN1_H */ -- cgit v1.2.3