]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/pem/pem_err.c
Check for errors allocating the error strings.
[thirdparty/openssl.git] / crypto / pem / pem_err.c
index 7a42535b77b29e9397f59f0800aa295e283c8379..f36d89324bdd666ce37fc7dda00d18f49d6b4e83 100644 (file)
@@ -102,7 +102,7 @@ static ERR_STRING_DATA PEM_str_reasons[] = {
 
 #endif
 
-void ERR_load_PEM_strings(void)
+int ERR_load_PEM_strings(void)
 {
 #ifndef OPENSSL_NO_ERR
 
@@ -111,4 +111,5 @@ void ERR_load_PEM_strings(void)
         ERR_load_strings(0, PEM_str_reasons);
     }
 #endif
+    return 1;
 }