diff options
| author | djm <> | 2008-09-06 12:17:54 +0000 |
|---|---|---|
| committer | djm <> | 2008-09-06 12:17:54 +0000 |
| commit | 6b62d1fdd8a4fd35acfcc0c4bb1bf8b757fa8cda (patch) | |
| tree | 7ccc28afe1789ea3dbedf72365f955d5b8e105b5 /src/lib/libcrypto/cpt_err.c | |
| parent | 89181603212b41e95cde36b1be5a146ce8fb2935 (diff) | |
| download | openbsd-6b62d1fdd8a4fd35acfcc0c4bb1bf8b757fa8cda.tar.gz openbsd-6b62d1fdd8a4fd35acfcc0c4bb1bf8b757fa8cda.tar.bz2 openbsd-6b62d1fdd8a4fd35acfcc0c4bb1bf8b757fa8cda.zip | |
resolve conflicts
Diffstat (limited to 'src/lib/libcrypto/cpt_err.c')
| -rw-r--r-- | src/lib/libcrypto/cpt_err.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/lib/libcrypto/cpt_err.c b/src/lib/libcrypto/cpt_err.c index 06a6109cce..9fd41fff8c 100644 --- a/src/lib/libcrypto/cpt_err.c +++ b/src/lib/libcrypto/cpt_err.c | |||
| @@ -92,15 +92,12 @@ static ERR_STRING_DATA CRYPTO_str_reasons[]= | |||
| 92 | 92 | ||
| 93 | void ERR_load_CRYPTO_strings(void) | 93 | void ERR_load_CRYPTO_strings(void) |
| 94 | { | 94 | { |
| 95 | static int init=1; | 95 | #ifndef OPENSSL_NO_ERR |
| 96 | 96 | ||
| 97 | if (init) | 97 | if (ERR_func_error_string(CRYPTO_str_functs[0].error) == NULL) |
| 98 | { | 98 | { |
| 99 | init=0; | ||
| 100 | #ifndef OPENSSL_NO_ERR | ||
| 101 | ERR_load_strings(0,CRYPTO_str_functs); | 99 | ERR_load_strings(0,CRYPTO_str_functs); |
| 102 | ERR_load_strings(0,CRYPTO_str_reasons); | 100 | ERR_load_strings(0,CRYPTO_str_reasons); |
| 103 | #endif | ||
| 104 | |||
| 105 | } | 101 | } |
| 102 | #endif | ||
| 106 | } | 103 | } |
