summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/hidden/openssl/asn1.h
diff options
context:
space:
mode:
authorbeck <>2023-11-13 12:46:07 +0000
committerbeck <>2023-11-13 12:46:07 +0000
commitdb4f0c111d3d2ec9fb666f340137159c7cbf1030 (patch)
treeea8d9b88ee224bef60061210ef255c9bf4048a1c /src/lib/libcrypto/hidden/openssl/asn1.h
parent91a189958d0b2acfe88adbe68093b38cecc1ce92 (diff)
downloadopenbsd-db4f0c111d3d2ec9fb666f340137159c7cbf1030.tar.gz
openbsd-db4f0c111d3d2ec9fb666f340137159c7cbf1030.tar.bz2
openbsd-db4f0c111d3d2ec9fb666f340137159c7cbf1030.zip
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 :----------------------------------------------------------------------
Diffstat (limited to 'src/lib/libcrypto/hidden/openssl/asn1.h')
-rw-r--r--src/lib/libcrypto/hidden/openssl/asn1.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/hidden/openssl/asn1.h b/src/lib/libcrypto/hidden/openssl/asn1.h
index fb1393f2a4..11db7b9902 100644
--- a/src/lib/libcrypto/hidden/openssl/asn1.h
+++ b/src/lib/libcrypto/hidden/openssl/asn1.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: asn1.h,v 1.6 2023/07/28 10:33:13 tb Exp $ */ 1/* $OpenBSD: asn1.h,v 1.7 2023/11/13 12:46:07 beck Exp $ */
2/* 2/*
3 * Copyright (c) 2023 Bob Beck <beck@openbsd.org> 3 * Copyright (c) 2023 Bob Beck <beck@openbsd.org>
4 * 4 *
@@ -249,5 +249,7 @@ LCRYPTO_USED(SMIME_text);
249LCRYPTO_USED(ERR_load_ASN1_strings); 249LCRYPTO_USED(ERR_load_ASN1_strings);
250LCRYPTO_USED(ASN1_time_parse); 250LCRYPTO_USED(ASN1_time_parse);
251LCRYPTO_USED(ASN1_time_tm_cmp); 251LCRYPTO_USED(ASN1_time_tm_cmp);
252LCRYPTO_USED(OPENSSL_gmtime);
253LCRYPTO_USED(OPENSSL_timegm);
252 254
253#endif /* _LIBCRYPTO_ASN1_H */ 255#endif /* _LIBCRYPTO_ASN1_H */