summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/hidden/openssl/bio.h
diff options
context:
space:
mode:
authortb <>2023-07-28 10:13:50 +0000
committertb <>2023-07-28 10:13:50 +0000
commite56dd594e13ac1e9a8e37ebda000cf90e2a9ad20 (patch)
treea171add36e20e14aac1e71e60b1bf649a99adc40 /src/lib/libcrypto/hidden/openssl/bio.h
parent5a5bd1401f412a6edcc762b842246d253befc095 (diff)
downloadopenbsd-e56dd594e13ac1e9a8e37ebda000cf90e2a9ad20.tar.gz
openbsd-e56dd594e13ac1e9a8e37ebda000cf90e2a9ad20.tar.bz2
openbsd-e56dd594e13ac1e9a8e37ebda000cf90e2a9ad20.zip
Drop BIO_n{read,write}{,0}()
This is one of those strange things that should never have made it into a security-oriented libraries. From BIO_s_bio.3: .\" The following non-copying I/O functions are intentionally undocumented .\" because they seem fragile and unused by anything: It was used in a single place: the gorgeous ssltest. I'm not smart enough to follow. Also: /* WARNING: The non-copying interface is largely untested as of yet * and may contain bugs. */ Oh, really? Into the great bitbucket in the sky you go. ok jsing
Diffstat (limited to 'src/lib/libcrypto/hidden/openssl/bio.h')
-rw-r--r--src/lib/libcrypto/hidden/openssl/bio.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/hidden/openssl/bio.h b/src/lib/libcrypto/hidden/openssl/bio.h
index 46cbdf72fe..f7e7cd3d8e 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.3 2023/07/28 09:58:30 tb Exp $ */ 1/* $OpenBSD: bio.h,v 1.4 2023/07/28 10:13:50 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2023 Bob Beck <beck@openbsd.org> 3 * Copyright (c) 2023 Bob Beck <beck@openbsd.org>
4 * 4 *
@@ -97,10 +97,6 @@ LCRYPTO_USED(BIO_get_retry_BIO);
97LCRYPTO_USED(BIO_get_retry_reason); 97LCRYPTO_USED(BIO_get_retry_reason);
98LCRYPTO_USED(BIO_set_retry_reason); 98LCRYPTO_USED(BIO_set_retry_reason);
99LCRYPTO_USED(BIO_dup_chain); 99LCRYPTO_USED(BIO_dup_chain);
100LCRYPTO_USED(BIO_nread0);
101LCRYPTO_USED(BIO_nread);
102LCRYPTO_USED(BIO_nwrite0);
103LCRYPTO_USED(BIO_nwrite);
104LCRYPTO_USED(BIO_debug_callback); 100LCRYPTO_USED(BIO_debug_callback);
105LCRYPTO_USED(BIO_s_mem); 101LCRYPTO_USED(BIO_s_mem);
106LCRYPTO_USED(BIO_new_mem_buf); 102LCRYPTO_USED(BIO_new_mem_buf);