diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2006-11-21 20:14:46 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2006-11-21 20:14:46 +0000 |
commit | 115fc340cb509f2c8def38561088b1c430591d3c (patch) | |
tree | 7e4ec2eec25b118f933248777ad4f99ec6638585 /crypto/comp | |
parent | 900f7a87760d1053127976480efcd71371787d6e (diff) |
Rebuild error file C source files.
Diffstat (limited to 'crypto/comp')
-rw-r--r-- | crypto/comp/comp_err.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/crypto/comp/comp_err.c b/crypto/comp/comp_err.c index bf7aa3af76..07372226c9 100644 --- a/crypto/comp/comp_err.c +++ b/crypto/comp/comp_err.c @@ -82,15 +82,12 @@ static ERR_STRING_DATA COMP_str_reasons[]= void ERR_load_COMP_strings(void) { - static int init=1; +#ifndef OPENSSL_NO_ERR - if (init) + if (ERR_func_error_string(COMP_str_functs[0].error) == NULL) { - init=0; -#ifndef OPENSSL_NO_ERR ERR_load_strings(0,COMP_str_functs); ERR_load_strings(0,COMP_str_reasons); -#endif - } +#endif } |