Check for errors allocating the error strings.
[openssl.git] / crypto / pkcs12 / pk12err.c
index 36053f196c718ce6c4a3ca39a208e88022a78298..f15a6951a2e49a92940f94580bd84a97ab378804 100644 (file)
@@ -81,7 +81,7 @@ static ERR_STRING_DATA PKCS12_str_reasons[] = {
 
 #endif
 
-void ERR_load_PKCS12_strings(void)
+int ERR_load_PKCS12_strings(void)
 {
 #ifndef OPENSSL_NO_ERR
 
@@ -90,4 +90,5 @@ void ERR_load_PKCS12_strings(void)
         ERR_load_strings(0, PKCS12_str_reasons);
     }
 #endif
+    return 1;
 }