diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2023-07-28 09:58:31 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2023-07-28 09:58:31 +0000 |
commit | 0008b057cd99b3e00cf8daaa3d28d47bc5e02b15 (patch) | |
tree | 800a6db623c1dce850b38a40b44af9afab748b0a /lib/libcrypto/asn1/asn1.h | |
parent | 43a95331c4b255711150fabe38895f9521098aaa (diff) |
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
Diffstat (limited to 'lib/libcrypto/asn1/asn1.h')
-rw-r--r-- | lib/libcrypto/asn1/asn1.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libcrypto/asn1/asn1.h b/lib/libcrypto/asn1/asn1.h index 5be4668be0a..fbc5d098d8b 100644 --- a/lib/libcrypto/asn1/asn1.h +++ b/lib/libcrypto/asn1/asn1.h @@ -1,4 +1,4 @@ -/* $OpenBSD: asn1.h,v 1.76 2023/04/25 19:08:30 tb Exp $ */ +/* $OpenBSD: asn1.h,v 1.77 2023/07/28 09:58:30 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -922,8 +922,6 @@ void ASN1_PCTX_set_oid_flags(ASN1_PCTX *p, unsigned long flags); unsigned long ASN1_PCTX_get_str_flags(const ASN1_PCTX *p); void ASN1_PCTX_set_str_flags(ASN1_PCTX *p, unsigned long flags); -const BIO_METHOD *BIO_f_asn1(void); - int SMIME_crlf_copy(BIO *in, BIO *out, int flags); int SMIME_text(BIO *in, BIO *out); |