diff options
author | beck <> | 2023-07-07 13:54:46 +0000 |
---|---|---|
committer | beck <> | 2023-07-07 13:54:46 +0000 |
commit | 6bba0b0cef45b790c7a98a818e6018c91de8af0b (patch) | |
tree | 8637b2fb4bca234d55b598e035f23335be46ce49 /src/lib/libcrypto/err/err_prn.c | |
parent | fcdb286fc308a6ce5c66d8a4653f2e2e6c4903ed (diff) | |
download | openbsd-6bba0b0cef45b790c7a98a818e6018c91de8af0b.tar.gz openbsd-6bba0b0cef45b790c7a98a818e6018c91de8af0b.tar.bz2 openbsd-6bba0b0cef45b790c7a98a818e6018c91de8af0b.zip |
Hide symbols in hkdf, evp, err, ecdsa, and ec
(part 2 of commit)
ok jsing@
Diffstat (limited to 'src/lib/libcrypto/err/err_prn.c')
-rw-r--r-- | src/lib/libcrypto/err/err_prn.c | 5 |
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 | } |
91 | LCRYPTO_ALIAS(ERR_print_errors_cb); | ||
91 | 92 | ||
92 | static int | 93 | static int |
93 | print_fp(const char *str, size_t len, void *fp) | 94 | print_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 | } |
109 | LCRYPTO_ALIAS(ERR_print_errors_fp); | ||
108 | 110 | ||
109 | static int | 111 | static int |
110 | print_bio(const char *str, size_t len, void *bp) | 112 | print_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 | } |
122 | LCRYPTO_ALIAS(ERR_print_errors); | ||