]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/pkcs7/pkcs7err.c
Check for errors allocating the error strings.
[thirdparty/openssl.git] / crypto / pkcs7 / pkcs7err.c
index bcb479d5065e2809c6ddbc861be44ddfc0c1bd83..d5baa9b832f97c934ac42d7fc829a09dac4ab545 100644 (file)
@@ -118,7 +118,7 @@ static ERR_STRING_DATA PKCS7_str_reasons[] = {
 
 #endif
 
-void ERR_load_PKCS7_strings(void)
+int ERR_load_PKCS7_strings(void)
 {
 #ifndef OPENSSL_NO_ERR
 
@@ -127,4 +127,5 @@ void ERR_load_PKCS7_strings(void)
         ERR_load_strings(0, PKCS7_str_reasons);
     }
 #endif
+    return 1;
 }