diff options
Diffstat (limited to 'src/lib/libcrypto/bio/b_dump.c')
-rw-r--r-- | src/lib/libcrypto/bio/b_dump.c | 38 |
1 files changed, 1 insertions, 37 deletions
diff --git a/src/lib/libcrypto/bio/b_dump.c b/src/lib/libcrypto/bio/b_dump.c index 39cd94e767..4dcf710bbe 100644 --- a/src/lib/libcrypto/bio/b_dump.c +++ b/src/lib/libcrypto/bio/b_dump.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: b_dump.c,v 1.29 2024/02/15 10:34:30 tb Exp $ */ | 1 | /* $OpenBSD: b_dump.c,v 1.30 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 | * |
@@ -209,39 +209,3 @@ BIO_dump(BIO *bio, const char *s, int len) | |||
209 | return BIO_dump_indent(bio, s, len, 0); | 209 | return BIO_dump_indent(bio, s, len, 0); |
210 | } | 210 | } |
211 | LCRYPTO_ALIAS(BIO_dump); | 211 | LCRYPTO_ALIAS(BIO_dump); |
212 | |||
213 | /* | ||
214 | * XXX - remove the functions below in the next major bump. | ||
215 | */ | ||
216 | |||
217 | int | ||
218 | BIO_dump_cb(int (*cb)(const void *data, size_t len, void *u), | ||
219 | void *u, const char *s, int len) | ||
220 | { | ||
221 | BIOerror(ERR_R_DISABLED); | ||
222 | return -1; | ||
223 | } | ||
224 | |||
225 | int | ||
226 | BIO_dump_indent_cb(int (*cb)(const void *data, size_t len, void *u), | ||
227 | void *u, const char *s, int len, int indent) | ||
228 | { | ||
229 | BIOerror(ERR_R_DISABLED); | ||
230 | return -1; | ||
231 | } | ||
232 | |||
233 | int | ||
234 | BIO_dump_fp(FILE *fp, const char *s, int len) | ||
235 | { | ||
236 | BIOerror(ERR_R_DISABLED); | ||
237 | return -1; | ||
238 | } | ||
239 | LCRYPTO_ALIAS(BIO_dump_fp); | ||
240 | |||
241 | int | ||
242 | BIO_dump_indent_fp(FILE *fp, const char *s, int len, int indent) | ||
243 | { | ||
244 | BIOerror(ERR_R_DISABLED); | ||
245 | return -1; | ||
246 | } | ||
247 | LCRYPTO_ALIAS(BIO_dump_indent_fp); | ||