summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/hidden/openssl/asn1.h
diff options
context:
space:
mode:
authortb <>2024-03-02 09:08:41 +0000
committertb <>2024-03-02 09:08:41 +0000
commit571fe2f9899bd7827fb5664d23260ca3313b4042 (patch)
tree4587a5a5615e0deb2c1e1b46cb85fcf3f88e91e9 /src/lib/libcrypto/hidden/openssl/asn1.h
parent072e3a802a3e57c8384497865cc93a9245048694 (diff)
downloadopenbsd-571fe2f9899bd7827fb5664d23260ca3313b4042.tar.gz
openbsd-571fe2f9899bd7827fb5664d23260ca3313b4042.tar.bz2
openbsd-571fe2f9899bd7827fb5664d23260ca3313b4042.zip
Remove beck's ASN.1 time API from public visibility
This API was needed since OpenSSL didn't have one. We now have variants of OpenSSL's API and will also expose BoringSSL's complementary API. The users of this API were ported to the OpenSSL variants and some may switch to BoringSSL's in the future. Part of it is still used internally. ASN1_time_tm_clamp_notafter() is still used by libtls (and only libtls). This will be fixed in a future bump. ok jsing
Diffstat (limited to 'src/lib/libcrypto/hidden/openssl/asn1.h')
-rw-r--r--src/lib/libcrypto/hidden/openssl/asn1.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/libcrypto/hidden/openssl/asn1.h b/src/lib/libcrypto/hidden/openssl/asn1.h
index 169475a0ba..12d9618f80 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.11 2024/03/02 09:04:07 tb Exp $ */ 1/* $OpenBSD: asn1.h,v 1.12 2024/03/02 09:08:41 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2023 Bob Beck <beck@openbsd.org> 3 * Copyright (c) 2023 Bob Beck <beck@openbsd.org>
4 * 4 *
@@ -154,7 +154,6 @@ LCRYPTO_USED(ASN1_TIME_normalize);
154LCRYPTO_USED(ASN1_TIME_set_string_X509); 154LCRYPTO_USED(ASN1_TIME_set_string_X509);
155LCRYPTO_USED(ASN1_TIME_diff); 155LCRYPTO_USED(ASN1_TIME_diff);
156LCRYPTO_USED(ASN1_TIME_set); 156LCRYPTO_USED(ASN1_TIME_set);
157LCRYPTO_USED(ASN1_TIME_set_tm);
158LCRYPTO_USED(ASN1_TIME_adj); 157LCRYPTO_USED(ASN1_TIME_adj);
159LCRYPTO_USED(ASN1_TIME_check); 158LCRYPTO_USED(ASN1_TIME_check);
160LCRYPTO_USED(ASN1_TIME_to_generalizedtime); 159LCRYPTO_USED(ASN1_TIME_to_generalizedtime);
@@ -232,7 +231,5 @@ LCRYPTO_USED(ASN1_item_print);
232LCRYPTO_USED(SMIME_crlf_copy); 231LCRYPTO_USED(SMIME_crlf_copy);
233LCRYPTO_USED(SMIME_text); 232LCRYPTO_USED(SMIME_text);
234LCRYPTO_USED(ERR_load_ASN1_strings); 233LCRYPTO_USED(ERR_load_ASN1_strings);
235LCRYPTO_USED(ASN1_time_parse);
236LCRYPTO_USED(ASN1_time_tm_cmp);
237 234
238#endif /* _LIBCRYPTO_ASN1_H */ 235#endif /* _LIBCRYPTO_ASN1_H */