diff options
| author | jsing <> | 2024-10-11 12:19:35 +0000 |
|---|---|---|
| committer | jsing <> | 2024-10-11 12:19:35 +0000 |
| commit | 3d031633e4071af2538ce20ec0d28b60d9d6f478 (patch) | |
| tree | 9dac8fee6e43917f046dce6cd0ca6ca6fe45b88b /src | |
| parent | 3a9e735b6ec031e5d5ba69def58b3876e06613eb (diff) | |
| download | openbsd-3d031633e4071af2538ce20ec0d28b60d9d6f478.tar.gz openbsd-3d031633e4071af2538ce20ec0d28b60d9d6f478.tar.bz2 openbsd-3d031633e4071af2538ce20ec0d28b60d9d6f478.zip | |
Add err_ prefix to build_SYS_str_reasons().
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/err/err.c | 6 |
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 | ||
| 487 | static void | 487 | static void |
| 488 | build_SYS_str_reasons(void) | 488 | err_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 | } |
