diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/Symbols.list | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/Symbols.namespace | 2 | ||||
-rw-r--r-- | src/lib/libcrypto/bio/b_dump.c | 38 | ||||
-rw-r--r-- | src/lib/libcrypto/bio/bio.h | 10 | ||||
-rw-r--r-- | src/lib/libcrypto/hidden/openssl/bio.h | 4 |
5 files changed, 5 insertions, 53 deletions
diff --git a/src/lib/libcrypto/Symbols.list b/src/lib/libcrypto/Symbols.list index 7877295ccb..be54be2f0b 100644 --- a/src/lib/libcrypto/Symbols.list +++ b/src/lib/libcrypto/Symbols.list | |||
@@ -233,11 +233,7 @@ BIO_ctrl_wpending | |||
233 | BIO_debug_callback | 233 | BIO_debug_callback |
234 | BIO_dgram_non_fatal_error | 234 | BIO_dgram_non_fatal_error |
235 | BIO_dump | 235 | BIO_dump |
236 | BIO_dump_cb | ||
237 | BIO_dump_fp | ||
238 | BIO_dump_indent | 236 | BIO_dump_indent |
239 | BIO_dump_indent_cb | ||
240 | BIO_dump_indent_fp | ||
241 | BIO_dup_chain | 237 | BIO_dup_chain |
242 | BIO_f_base64 | 238 | BIO_f_base64 |
243 | BIO_f_buffer | 239 | BIO_f_buffer |
diff --git a/src/lib/libcrypto/Symbols.namespace b/src/lib/libcrypto/Symbols.namespace index 04ea27935c..430c11636e 100644 --- a/src/lib/libcrypto/Symbols.namespace +++ b/src/lib/libcrypto/Symbols.namespace | |||
@@ -1195,8 +1195,6 @@ _libre_BIO_fd_should_retry | |||
1195 | _libre_BIO_fd_non_fatal_error | 1195 | _libre_BIO_fd_non_fatal_error |
1196 | _libre_BIO_dump | 1196 | _libre_BIO_dump |
1197 | _libre_BIO_dump_indent | 1197 | _libre_BIO_dump_indent |
1198 | _libre_BIO_dump_fp | ||
1199 | _libre_BIO_dump_indent_fp | ||
1200 | _libre_BIO_gethostbyname | 1198 | _libre_BIO_gethostbyname |
1201 | _libre_BIO_sock_error | 1199 | _libre_BIO_sock_error |
1202 | _libre_BIO_socket_ioctl | 1200 | _libre_BIO_socket_ioctl |
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); | ||
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 | ||
600 | int BIO_fd_should_retry(int i); | 600 | int BIO_fd_should_retry(int i); |
601 | int BIO_fd_non_fatal_error(int _error); | 601 | int BIO_fd_non_fatal_error(int _error); |
602 | int BIO_dump_cb(int (*cb)(const void *data, size_t len, void *u), | 602 | |
603 | void *u, const char *s, int len); | ||
604 | int BIO_dump_indent_cb(int (*cb)(const void *data, size_t len, void *u), | ||
605 | void *u, const char *s, int len, int indent); | ||
606 | int BIO_dump(BIO *b, const char *bytes, int len); | 603 | int BIO_dump(BIO *b, const char *bytes, int len); |
607 | int BIO_dump_indent(BIO *b, const char *bytes, int len, int indent); | 604 | int BIO_dump_indent(BIO *b, const char *bytes, int len, int indent); |
608 | int BIO_dump_fp(FILE *fp, const char *s, int len); | 605 | |
609 | int BIO_dump_indent_fp(FILE *fp, const char *s, int len, int indent); | ||
610 | struct hostent *BIO_gethostbyname(const char *name); | 606 | struct 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, |
diff --git a/src/lib/libcrypto/hidden/openssl/bio.h b/src/lib/libcrypto/hidden/openssl/bio.h index 6166471306..4d7577a2fe 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.5 2024/03/02 09:18:28 tb Exp $ */ | 1 | /* $OpenBSD: bio.h,v 1.6 2024/03/02 09:21:24 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2023 Bob Beck <beck@openbsd.org> | 3 | * Copyright (c) 2023 Bob Beck <beck@openbsd.org> |
4 | * | 4 | * |
@@ -118,8 +118,6 @@ LCRYPTO_USED(BIO_fd_should_retry); | |||
118 | LCRYPTO_USED(BIO_fd_non_fatal_error); | 118 | LCRYPTO_USED(BIO_fd_non_fatal_error); |
119 | LCRYPTO_USED(BIO_dump); | 119 | LCRYPTO_USED(BIO_dump); |
120 | LCRYPTO_USED(BIO_dump_indent); | 120 | LCRYPTO_USED(BIO_dump_indent); |
121 | LCRYPTO_USED(BIO_dump_fp); | ||
122 | LCRYPTO_USED(BIO_dump_indent_fp); | ||
123 | LCRYPTO_USED(BIO_gethostbyname); | 121 | LCRYPTO_USED(BIO_gethostbyname); |
124 | LCRYPTO_USED(BIO_sock_error); | 122 | LCRYPTO_USED(BIO_sock_error); |
125 | LCRYPTO_USED(BIO_socket_ioctl); | 123 | LCRYPTO_USED(BIO_socket_ioctl); |