From b57b8995befab5a960cda55abaa2c8eeb444dd0a Mon Sep 17 00:00:00 2001 From: tb <> Date: Fri, 28 Jul 2023 09:58:30 +0000 Subject: Make ASN.1 BIO internal With every bump we can remove a bit more of the ASN.1 BIO and the streaming interface. At some point enough will be internal so that we can rewrite it and bring it in a shape where mere mortals can follow all the twists and turns. This is the next step: BIO_f_asn1(3) goes away and takes BIO_asn1_{get,set}_{prefix,suffix}() with it, a bunch of functions helping along in a write-after-free recently. The getters go away, the setters stay for now. ok jsing --- src/lib/libcrypto/hidden/openssl/asn1.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lib/libcrypto/hidden/openssl/asn1.h') diff --git a/src/lib/libcrypto/hidden/openssl/asn1.h b/src/lib/libcrypto/hidden/openssl/asn1.h index 7e41ec862c..e3095e0631 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.2 2023/07/07 19:37:54 beck Exp $ */ +/* $OpenBSD: asn1.h,v 1.3 2023/07/28 09:58:30 tb Exp $ */ /* * Copyright (c) 2023 Bob Beck * @@ -250,7 +250,6 @@ LCRYPTO_USED(ASN1_PCTX_get_oid_flags); LCRYPTO_USED(ASN1_PCTX_set_oid_flags); LCRYPTO_USED(ASN1_PCTX_get_str_flags); LCRYPTO_USED(ASN1_PCTX_set_str_flags); -LCRYPTO_USED(BIO_f_asn1); LCRYPTO_USED(SMIME_crlf_copy); LCRYPTO_USED(SMIME_text); LCRYPTO_USED(ERR_load_ASN1_strings); -- cgit v1.2.3-55-g6feb