Check for errors allocating the error strings.
[openssl.git] / crypto / engine / eng_err.c
index 5eb87719694e5909c2bf352efd4548f4434d08a3..5e9d16f3cd7e9fd006081fe57c064a46771ba306 100644 (file)
@@ -110,7 +110,7 @@ static ERR_STRING_DATA ENGINE_str_reasons[] = {
 
 #endif
 
-void ERR_load_ENGINE_strings(void)
+int ERR_load_ENGINE_strings(void)
 {
 #ifndef OPENSSL_NO_ERR
 
@@ -119,4 +119,5 @@ void ERR_load_ENGINE_strings(void)
         ERR_load_strings(0, ENGINE_str_reasons);
     }
 #endif
+    return 1;
 }