From fe88bf8563f838d3ec4d23808ae494ef416deb64 Mon Sep 17 00:00:00 2001 From: beck <> Date: Tue, 9 Jul 2024 07:17:13 +0000 Subject: Hide remaining unused ERR functions in err.h ok tb@ --- src/lib/libcrypto/err/err.c | 4 +++- src/lib/libcrypto/err/err.h | 4 +--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/lib/libcrypto/err') diff --git a/src/lib/libcrypto/err/err.c b/src/lib/libcrypto/err/err.c index 583293e793..e40b52f5ec 100644 --- a/src/lib/libcrypto/err/err.c +++ b/src/lib/libcrypto/err/err.c @@ -1,4 +1,4 @@ -/* $OpenBSD: err.c,v 1.61 2024/06/24 06:43:22 tb Exp $ */ +/* $OpenBSD: err.c,v 1.62 2024/07/09 07:17:13 beck Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -1149,6 +1149,7 @@ ERR_add_error_vdata(int num, va_list args) else ERR_set_error_data(errbuf, ERR_TXT_MALLOCED|ERR_TXT_STRING); } +LCRYPTO_ALIAS(ERR_add_error_vdata); void ERR_add_error_data(int num, ...) @@ -1158,6 +1159,7 @@ ERR_add_error_data(int num, ...) ERR_add_error_vdata(num, args); va_end(args); } +LCRYPTO_ALIAS(ERR_add_error_data); int ERR_set_mark(void) diff --git a/src/lib/libcrypto/err/err.h b/src/lib/libcrypto/err/err.h index 8beab1487e..9f64dd2797 100644 --- a/src/lib/libcrypto/err/err.h +++ b/src/lib/libcrypto/err/err.h @@ -1,4 +1,4 @@ -/* $OpenBSD: err.h,v 1.33 2024/03/02 10:32:26 tb Exp $ */ +/* $OpenBSD: err.h,v 1.34 2024/07/09 07:17:13 beck Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -374,10 +374,8 @@ void ERR_print_errors_fp(FILE *fp); void ERR_print_errors(BIO *bp); #endif void ERR_asprintf_error_data(char * format, ...); -#ifndef LIBRESSL_INTERNAL void ERR_add_error_data(int num, ...); void ERR_add_error_vdata(int num, va_list args); -#endif void ERR_load_strings(int lib, ERR_STRING_DATA *str); void ERR_unload_strings(int lib, ERR_STRING_DATA *str); void ERR_load_ERR_strings(void); -- cgit v1.2.3-55-g6feb