diff options
author | tb <> | 2023-07-28 09:58:30 +0000 |
---|---|---|
committer | tb <> | 2023-07-28 09:58:30 +0000 |
commit | b57b8995befab5a960cda55abaa2c8eeb444dd0a (patch) | |
tree | a8ef39245b59cd5d4747a1efefdf2919068bb6e3 /src/lib/libcrypto/hidden | |
parent | d4949db8e78438e8bb53c9c1297b068ac0df7827 (diff) | |
download | openbsd-b57b8995befab5a960cda55abaa2c8eeb444dd0a.tar.gz openbsd-b57b8995befab5a960cda55abaa2c8eeb444dd0a.tar.bz2 openbsd-b57b8995befab5a960cda55abaa2c8eeb444dd0a.zip |
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 'src/lib/libcrypto/hidden')
-rw-r--r-- | src/lib/libcrypto/hidden/openssl/asn1.h | 3 | ||||
-rw-r--r-- | src/lib/libcrypto/hidden/openssl/bio.h | 6 |
2 files changed, 2 insertions, 7 deletions
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 @@ | |||
1 | /* $OpenBSD: asn1.h,v 1.2 2023/07/07 19:37:54 beck Exp $ */ | 1 | /* $OpenBSD: asn1.h,v 1.3 2023/07/28 09:58:30 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2023 Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2023 Bob Beck <beck@openbsd.org> |
4 | * | 4 | * |
@@ -250,7 +250,6 @@ LCRYPTO_USED(ASN1_PCTX_get_oid_flags); | |||
250 | LCRYPTO_USED(ASN1_PCTX_set_oid_flags); | 250 | LCRYPTO_USED(ASN1_PCTX_set_oid_flags); |
251 | LCRYPTO_USED(ASN1_PCTX_get_str_flags); | 251 | LCRYPTO_USED(ASN1_PCTX_get_str_flags); |
252 | LCRYPTO_USED(ASN1_PCTX_set_str_flags); | 252 | LCRYPTO_USED(ASN1_PCTX_set_str_flags); |
253 | LCRYPTO_USED(BIO_f_asn1); | ||
254 | LCRYPTO_USED(SMIME_crlf_copy); | 253 | LCRYPTO_USED(SMIME_crlf_copy); |
255 | LCRYPTO_USED(SMIME_text); | 254 | LCRYPTO_USED(SMIME_text); |
256 | LCRYPTO_USED(ERR_load_ASN1_strings); | 255 | LCRYPTO_USED(ERR_load_ASN1_strings); |
diff --git a/src/lib/libcrypto/hidden/openssl/bio.h b/src/lib/libcrypto/hidden/openssl/bio.h index c04a0a447f..46cbdf72fe 100644 --- a/src/lib/libcrypto/hidden/openssl/bio.h +++ b/src/lib/libcrypto/hidden/openssl/bio.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bio.h,v 1.2 2023/07/07 19:37:54 beck Exp $ */ | 1 | /* $OpenBSD: bio.h,v 1.3 2023/07/28 09:58:30 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2023 Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2023 Bob Beck <beck@openbsd.org> |
4 | * | 4 | * |
@@ -63,10 +63,6 @@ LCRYPTO_USED(BIO_set_ex_data); | |||
63 | LCRYPTO_USED(BIO_get_ex_data); | 63 | LCRYPTO_USED(BIO_get_ex_data); |
64 | LCRYPTO_USED(BIO_number_read); | 64 | LCRYPTO_USED(BIO_number_read); |
65 | LCRYPTO_USED(BIO_number_written); | 65 | LCRYPTO_USED(BIO_number_written); |
66 | LCRYPTO_USED(BIO_asn1_set_prefix); | ||
67 | LCRYPTO_USED(BIO_asn1_get_prefix); | ||
68 | LCRYPTO_USED(BIO_asn1_set_suffix); | ||
69 | LCRYPTO_USED(BIO_asn1_get_suffix); | ||
70 | LCRYPTO_USED(BIO_get_new_index); | 66 | LCRYPTO_USED(BIO_get_new_index); |
71 | LCRYPTO_USED(BIO_s_file); | 67 | LCRYPTO_USED(BIO_s_file); |
72 | LCRYPTO_USED(BIO_new_file); | 68 | LCRYPTO_USED(BIO_new_file); |