From 69842f2ef7daf132291420391b6098aac2e4a7dc Mon Sep 17 00:00:00 2001 From: tb <> Date: Sat, 2 Mar 2024 09:08:41 +0000 Subject: 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 --- src/lib/libcrypto/hidden/openssl/asn1.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/lib/libcrypto/hidden/openssl') 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 @@ -/* $OpenBSD: asn1.h,v 1.11 2024/03/02 09:04:07 tb Exp $ */ +/* $OpenBSD: asn1.h,v 1.12 2024/03/02 09:08:41 tb Exp $ */ /* * Copyright (c) 2023 Bob Beck * @@ -154,7 +154,6 @@ LCRYPTO_USED(ASN1_TIME_normalize); LCRYPTO_USED(ASN1_TIME_set_string_X509); LCRYPTO_USED(ASN1_TIME_diff); LCRYPTO_USED(ASN1_TIME_set); -LCRYPTO_USED(ASN1_TIME_set_tm); LCRYPTO_USED(ASN1_TIME_adj); LCRYPTO_USED(ASN1_TIME_check); LCRYPTO_USED(ASN1_TIME_to_generalizedtime); @@ -232,7 +231,5 @@ LCRYPTO_USED(ASN1_item_print); LCRYPTO_USED(SMIME_crlf_copy); LCRYPTO_USED(SMIME_text); LCRYPTO_USED(ERR_load_ASN1_strings); -LCRYPTO_USED(ASN1_time_parse); -LCRYPTO_USED(ASN1_time_tm_cmp); #endif /* _LIBCRYPTO_ASN1_H */ -- cgit v1.2.3-55-g6feb