diff options
| author | Cy Schubert <cy@FreeBSD.org> | 2023-06-26 22:56:52 +0000 |
|---|---|---|
| committer | Cy Schubert <cy@FreeBSD.org> | 2023-06-26 22:56:52 +0000 |
| commit | b6a943f7197af1a5eb6bb028b9b808ec5016e30c (patch) | |
| tree | cfbb91e940dd89d0e1d46095f43c228d7d079fa0 /lib/com_err/com_err.c | |
| parent | 6f4e10db3298f6d65e1e646fe52aaafc3682b788 (diff) | |
heimdal: Vendor import f62e2f278vendor/heimdal/7.8.0-2023-06-10-f62e2f278vendor/heimdal
Heimdal 7.8.0 does not support OpenSSL 3.0. 7.9.0 will but it hasn't
been released yet. We are importing f62e2f278 for its OpenSSL 3.0
support.
Diffstat (limited to 'lib/com_err/com_err.c')
| -rw-r--r-- | lib/com_err/com_err.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/com_err/com_err.c b/lib/com_err/com_err.c index 22a810f8f2a6..d212e40d3261 100644 --- a/lib/com_err/com_err.c +++ b/lib/com_err/com_err.c @@ -38,6 +38,7 @@ #include <stdlib.h> #include <string.h> #include <roken.h> +#include <heim_threads.h> #include "com_err.h" struct et_list *_et_list = NULL; @@ -62,7 +63,7 @@ error_message (long code) } KRB5_LIB_FUNCTION int KRB5_LIB_CALL -init_error_table(const char **msgs, long base, int count) +init_error_table(const char *const *msgs, long base, int count) { initialize_error_table_r(&_et_list, msgs, count, base); return 0; @@ -132,7 +133,7 @@ reset_com_err_hook (void) static const char char_set[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_"; -static char buf[6]; +static HEIMDAL_THREAD_LOCAL char buf[6]; KRB5_LIB_FUNCTION const char * KRB5_LIB_CALL error_table_name(int num) |
