summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/err/err_prn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/err/err_prn.c')
-rw-r--r--src/lib/libcrypto/err/err_prn.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/err/err_prn.c b/src/lib/libcrypto/err/err_prn.c
index 6b5c455f06..d60cfdcb92 100644
--- a/src/lib/libcrypto/err/err_prn.c
+++ b/src/lib/libcrypto/err/err_prn.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: err_prn.c,v 1.19 2022/01/07 09:02:18 tb Exp $ */ 1/* $OpenBSD: err_prn.c,v 1.20 2023/07/07 13:54:45 beck 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 *
@@ -88,6 +88,7 @@ ERR_print_errors_cb(int (*cb)(const char *str, size_t len, void *u), void *u)
88 break; /* abort outputting the error report */ 88 break; /* abort outputting the error report */
89 } 89 }
90} 90}
91LCRYPTO_ALIAS(ERR_print_errors_cb);
91 92
92static int 93static int
93print_fp(const char *str, size_t len, void *fp) 94print_fp(const char *str, size_t len, void *fp)
@@ -105,6 +106,7 @@ ERR_print_errors_fp(FILE *fp)
105{ 106{
106 ERR_print_errors_cb(print_fp, fp); 107 ERR_print_errors_cb(print_fp, fp);
107} 108}
109LCRYPTO_ALIAS(ERR_print_errors_fp);
108 110
109static int 111static int
110print_bio(const char *str, size_t len, void *bp) 112print_bio(const char *str, size_t len, void *bp)
@@ -117,3 +119,4 @@ ERR_print_errors(BIO *bp)
117{ 119{
118 ERR_print_errors_cb(print_bio, bp); 120 ERR_print_errors_cb(print_bio, bp);
119} 121}
122LCRYPTO_ALIAS(ERR_print_errors);