summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio/bio.h
diff options
context:
space:
mode:
authortb <>2024-03-02 09:21:24 +0000
committertb <>2024-03-02 09:21:24 +0000
commit677a66d025419307bc6e760f1bcd514a0f43a3fd (patch)
treebc093c85c2fafa33035ab2593c9be9c1a640267a /src/lib/libcrypto/bio/bio.h
parent0ad809a3e5e65ac5128296f24014a9b037cbed24 (diff)
downloadopenbsd-677a66d025419307bc6e760f1bcd514a0f43a3fd.tar.gz
openbsd-677a66d025419307bc6e760f1bcd514a0f43a3fd.tar.bz2
openbsd-677a66d025419307bc6e760f1bcd514a0f43a3fd.zip
Remove BIO_dump_*{cb,fp}()
These were disabled and the internals that need to remain were fixed. Time for this garbage to go. ok jsing
Diffstat (limited to 'src/lib/libcrypto/bio/bio.h')
-rw-r--r--src/lib/libcrypto/bio/bio.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/lib/libcrypto/bio/bio.h b/src/lib/libcrypto/bio/bio.h
index 10b0924f73..bf1be3650c 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.61 2024/03/02 09:18:28 tb Exp $ */ 1/* $OpenBSD: bio.h,v 1.62 2024/03/02 09:21:24 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 *
@@ -599,14 +599,10 @@ int BIO_dgram_non_fatal_error(int _error);
599 599
600int BIO_fd_should_retry(int i); 600int BIO_fd_should_retry(int i);
601int BIO_fd_non_fatal_error(int _error); 601int BIO_fd_non_fatal_error(int _error);
602int BIO_dump_cb(int (*cb)(const void *data, size_t len, void *u), 602
603 void *u, const char *s, int len);
604int BIO_dump_indent_cb(int (*cb)(const void *data, size_t len, void *u),
605 void *u, const char *s, int len, int indent);
606int BIO_dump(BIO *b, const char *bytes, int len); 603int BIO_dump(BIO *b, const char *bytes, int len);
607int BIO_dump_indent(BIO *b, const char *bytes, int len, int indent); 604int BIO_dump_indent(BIO *b, const char *bytes, int len, int indent);
608int BIO_dump_fp(FILE *fp, const char *s, int len); 605
609int BIO_dump_indent_fp(FILE *fp, const char *s, int len, int indent);
610struct hostent *BIO_gethostbyname(const char *name); 606struct hostent *BIO_gethostbyname(const char *name);
611/* We might want a thread-safe interface too: 607/* We might want a thread-safe interface too:
612 * struct hostent *BIO_gethostbyname_r(const char *name, 608 * struct hostent *BIO_gethostbyname_r(const char *name,