summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/bio')
-rw-r--r--src/lib/libcrypto/bio/bio.h3
-rw-r--r--src/lib/libcrypto/bio/bio_lib.c10
2 files changed, 2 insertions, 11 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);
534BIO *BIO_new_file(const char *filename, const char *mode); 534BIO *BIO_new_file(const char *filename, const char *mode);
535BIO *BIO_new_fp(FILE *stream, int close_flag); 535BIO *BIO_new_fp(FILE *stream, int close_flag);
536BIO *BIO_new(const BIO_METHOD *type); 536BIO *BIO_new(const BIO_METHOD *type);
537int BIO_set(BIO *a, const BIO_METHOD *type);
538int BIO_free(BIO *a); 537int BIO_free(BIO *a);
539int BIO_up_ref(BIO *bio); 538int BIO_up_ref(BIO *bio);
540void *BIO_get_data(BIO *a); 539void *BIO_get_data(BIO *a);
diff --git a/src/lib/libcrypto/bio/bio_lib.c b/src/lib/libcrypto/bio/bio_lib.c
index c90dd161f8..2f490a42f9 100644
--- a/src/lib/libcrypto/bio/bio_lib.c
+++ b/src/lib/libcrypto/bio/bio_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bio_lib.c,v 1.51 2024/02/17 14:29:07 jsing Exp $ */ 1/* $OpenBSD: bio_lib.c,v 1.52 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 *
@@ -161,14 +161,6 @@ BIO_new(const BIO_METHOD *method)
161LCRYPTO_ALIAS(BIO_new); 161LCRYPTO_ALIAS(BIO_new);
162 162
163int 163int
164BIO_set(BIO *bio, const BIO_METHOD *method)
165{
166 BIOerror(ERR_R_DISABLED);
167 return 0;
168}
169LCRYPTO_ALIAS(BIO_set);
170
171int
172BIO_free(BIO *bio) 164BIO_free(BIO *bio)
173{ 165{
174 int ret; 166 int ret;