summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/hidden/openssl
diff options
context:
space:
mode:
authorbeck <>2023-11-13 12:46:07 +0000
committerbeck <>2023-11-13 12:46:07 +0000
commitd0232ec89756b3b83a7ebd92b315b65415b5f0e4 (patch)
treeea8d9b88ee224bef60061210ef255c9bf4048a1c /src/lib/libcrypto/hidden/openssl
parent8161eba73aec9d6c1be3143e72d0f95387a0aafe (diff)
downloadopenbsd-d0232ec89756b3b83a7ebd92b315b65415b5f0e4.tar.gz
openbsd-d0232ec89756b3b83a7ebd92b315b65415b5f0e4.tar.bz2
openbsd-d0232ec89756b3b83a7ebd92b315b65415b5f0e4.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')
-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 */