From e56dd594e13ac1e9a8e37ebda000cf90e2a9ad20 Mon Sep 17 00:00:00 2001 From: tb <> Date: Fri, 28 Jul 2023 10:13:50 +0000 Subject: 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 --- src/lib/libcrypto/hidden/openssl/bio.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/lib/libcrypto/hidden/openssl/bio.h') 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 @@ -/* $OpenBSD: bio.h,v 1.3 2023/07/28 09:58:30 tb Exp $ */ +/* $OpenBSD: bio.h,v 1.4 2023/07/28 10:13:50 tb Exp $ */ /* * Copyright (c) 2023 Bob Beck * @@ -97,10 +97,6 @@ LCRYPTO_USED(BIO_get_retry_BIO); LCRYPTO_USED(BIO_get_retry_reason); LCRYPTO_USED(BIO_set_retry_reason); LCRYPTO_USED(BIO_dup_chain); -LCRYPTO_USED(BIO_nread0); -LCRYPTO_USED(BIO_nread); -LCRYPTO_USED(BIO_nwrite0); -LCRYPTO_USED(BIO_nwrite); LCRYPTO_USED(BIO_debug_callback); LCRYPTO_USED(BIO_s_mem); LCRYPTO_USED(BIO_new_mem_buf); -- cgit v1.2.3-55-g6feb