diff options
| author | tb <> | 2023-07-28 10:13:50 +0000 |
|---|---|---|
| committer | tb <> | 2023-07-28 10:13:50 +0000 |
| commit | 43dacb06bd0d2779c2a59be0c69a4defc6fcb419 (patch) | |
| tree | a171add36e20e14aac1e71e60b1bf649a99adc40 /src/lib/libcrypto/hidden/openssl | |
| parent | 471217d6db7fb5e6999fefba7e8eb950ad19b6a8 (diff) | |
| download | openbsd-43dacb06bd0d2779c2a59be0c69a4defc6fcb419.tar.gz openbsd-43dacb06bd0d2779c2a59be0c69a4defc6fcb419.tar.bz2 openbsd-43dacb06bd0d2779c2a59be0c69a4defc6fcb419.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')
| -rw-r--r-- | src/lib/libcrypto/hidden/openssl/bio.h | 6 |
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); | |||
| 97 | LCRYPTO_USED(BIO_get_retry_reason); | 97 | LCRYPTO_USED(BIO_get_retry_reason); |
| 98 | LCRYPTO_USED(BIO_set_retry_reason); | 98 | LCRYPTO_USED(BIO_set_retry_reason); |
| 99 | LCRYPTO_USED(BIO_dup_chain); | 99 | LCRYPTO_USED(BIO_dup_chain); |
| 100 | LCRYPTO_USED(BIO_nread0); | ||
| 101 | LCRYPTO_USED(BIO_nread); | ||
| 102 | LCRYPTO_USED(BIO_nwrite0); | ||
| 103 | LCRYPTO_USED(BIO_nwrite); | ||
| 104 | LCRYPTO_USED(BIO_debug_callback); | 100 | LCRYPTO_USED(BIO_debug_callback); |
| 105 | LCRYPTO_USED(BIO_s_mem); | 101 | LCRYPTO_USED(BIO_s_mem); |
| 106 | LCRYPTO_USED(BIO_new_mem_buf); | 102 | LCRYPTO_USED(BIO_new_mem_buf); |
