summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjsing <>2024-10-11 12:19:35 +0000
committerjsing <>2024-10-11 12:19:35 +0000
commit8e6cc56bf2b6a96e924c99709413b5e6694f7a58 (patch)
tree9dac8fee6e43917f046dce6cd0ca6ca6fe45b88b /src
parent32a16dec61a68ac61c650748402b46cfa49750da (diff)
downloadopenbsd-8e6cc56bf2b6a96e924c99709413b5e6694f7a58.tar.gz
openbsd-8e6cc56bf2b6a96e924c99709413b5e6694f7a58.tar.bz2
openbsd-8e6cc56bf2b6a96e924c99709413b5e6694f7a58.zip
Add err_ prefix to build_SYS_str_reasons().
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/err/err.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/err/err.c b/src/lib/libcrypto/err/err.c
index d3900a75f4..cbc004885c 100644
--- a/src/lib/libcrypto/err/err.c
+++ b/src/lib/libcrypto/err/err.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: err.c,v 1.67 2024/10/11 12:10:12 jsing Exp $ */ 1/* $OpenBSD: err.c,v 1.68 2024/10/11 12:19:35 jsing 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 *
@@ -485,7 +485,7 @@ static ERR_STRING_DATA SYS_str_reasons[NUM_SYS_STR_REASONS + 1];
485 * value and never one of those 'standard' reason codes. */ 485 * value and never one of those 'standard' reason codes. */
486 486
487static void 487static void
488build_SYS_str_reasons(void) 488err_build_SYS_str_reasons(void)
489{ 489{
490 /* malloc cannot be used here, use static storage instead */ 490 /* malloc cannot be used here, use static storage instead */
491 static char strerror_tab[NUM_SYS_STR_REASONS][LEN_SYS_STR_REASON]; 491 static char strerror_tab[NUM_SYS_STR_REASONS][LEN_SYS_STR_REASON];
@@ -700,7 +700,7 @@ ERR_load_ERR_strings_internal(void)
700 err_load_const_strings(ERR_str_libraries); 700 err_load_const_strings(ERR_str_libraries);
701 err_load_const_strings(ERR_str_reasons); 701 err_load_const_strings(ERR_str_reasons);
702 err_load_const_strings(ERR_str_functs); 702 err_load_const_strings(ERR_str_functs);
703 build_SYS_str_reasons(); 703 err_build_SYS_str_reasons();
704 err_load_strings(ERR_LIB_SYS, SYS_str_reasons); 704 err_load_strings(ERR_LIB_SYS, SYS_str_reasons);
705#endif 705#endif
706} 706}