diff options
author | tb <> | 2024-03-02 09:22:41 +0000 |
---|---|---|
committer | tb <> | 2024-03-02 09:22:41 +0000 |
commit | 2c5808653fa0d563b5f341caa86dd3f3acc8f5cc (patch) | |
tree | 781f27a5e7e92463767b94f1fa6ebcb6e603461c /src/lib/libcrypto/bio/bio.h | |
parent | 677a66d025419307bc6e760f1bcd514a0f43a3fd (diff) | |
download | openbsd-2c5808653fa0d563b5f341caa86dd3f3acc8f5cc.tar.gz openbsd-2c5808653fa0d563b5f341caa86dd3f3acc8f5cc.tar.bz2 openbsd-2c5808653fa0d563b5f341caa86dd3f3acc8f5cc.zip |
Remove BIO_set()
This used to be a dangerous implementation detail of BIO_new() that was
never used outside of libcrypto.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/bio/bio.h')
-rw-r--r-- | src/lib/libcrypto/bio/bio.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/bio/bio.h b/src/lib/libcrypto/bio/bio.h index bf1be3650c..a50fb16342 100644 --- a/src/lib/libcrypto/bio/bio.h +++ b/src/lib/libcrypto/bio/bio.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: bio.h,v 1.62 2024/03/02 09:21:24 tb Exp $ */ | 1 | /* $OpenBSD: bio.h,v 1.63 2024/03/02 09:22:41 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -534,7 +534,6 @@ const BIO_METHOD *BIO_s_file(void); | |||
534 | BIO *BIO_new_file(const char *filename, const char *mode); | 534 | BIO *BIO_new_file(const char *filename, const char *mode); |
535 | BIO *BIO_new_fp(FILE *stream, int close_flag); | 535 | BIO *BIO_new_fp(FILE *stream, int close_flag); |
536 | BIO *BIO_new(const BIO_METHOD *type); | 536 | BIO *BIO_new(const BIO_METHOD *type); |
537 | int BIO_set(BIO *a, const BIO_METHOD *type); | ||
538 | int BIO_free(BIO *a); | 537 | int BIO_free(BIO *a); |
539 | int BIO_up_ref(BIO *bio); | 538 | int BIO_up_ref(BIO *bio); |
540 | void *BIO_get_data(BIO *a); | 539 | void *BIO_get_data(BIO *a); |