summaryrefslogtreecommitdiffstats
path: root/crypto/store/str_err.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2006-11-21 20:14:46 +0000
committerDr. Stephen Henson <steve@openssl.org>2006-11-21 20:14:46 +0000
commit115fc340cb509f2c8def38561088b1c430591d3c (patch)
tree7e4ec2eec25b118f933248777ad4f99ec6638585 /crypto/store/str_err.c
parent900f7a87760d1053127976480efcd71371787d6e (diff)
Rebuild error file C source files.
Diffstat (limited to 'crypto/store/str_err.c')
-rw-r--r--crypto/store/str_err.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/crypto/store/str_err.c b/crypto/store/str_err.c
index 5c6fe832e8..6fee649822 100644
--- a/crypto/store/str_err.c
+++ b/crypto/store/str_err.c
@@ -200,15 +200,12 @@ static ERR_STRING_DATA STORE_str_reasons[]=
void ERR_load_STORE_strings(void)
{
- static int init=1;
+#ifndef OPENSSL_NO_ERR
- if (init)
+ if (ERR_func_error_string(STORE_str_functs[0].error) == NULL)
{
- init=0;
-#ifndef OPENSSL_NO_ERR
ERR_load_strings(0,STORE_str_functs);
ERR_load_strings(0,STORE_str_reasons);
-#endif
-
}
+#endif
}