Check for errors allocating the error strings.
[openssl.git] / crypto / ec / ec_err.c
index 25dea231b82fb87cb46b5637765c7934b86576cd..39e83436232788ffe9a56c89dd2ecbf1540b1dd2 100644 (file)
@@ -271,7 +271,7 @@ static ERR_STRING_DATA EC_str_reasons[] = {
 
 #endif
 
-void ERR_load_EC_strings(void)
+int ERR_load_EC_strings(void)
 {
 #ifndef OPENSSL_NO_ERR
 
@@ -280,4 +280,5 @@ void ERR_load_EC_strings(void)
         ERR_load_strings(0, EC_str_reasons);
     }
 #endif
+    return 1;
 }