Check for errors allocating the error strings.
[openssl.git] / crypto / comp / comp_err.c
index 0233e940f637b390630dd0c1c45d161ab0ddcf1b..8e2e69568def55e8b3bbd545014bd48c578c300a 100644 (file)
@@ -35,7 +35,7 @@ static ERR_STRING_DATA COMP_str_reasons[] = {
 
 #endif
 
-void ERR_load_COMP_strings(void)
+int ERR_load_COMP_strings(void)
 {
 #ifndef OPENSSL_NO_ERR
 
@@ -44,4 +44,5 @@ void ERR_load_COMP_strings(void)
         ERR_load_strings(0, COMP_str_reasons);
     }
 #endif
+    return 1;
 }