]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/bio/bio_err.c
Check for errors allocating the error strings.
[thirdparty/openssl.git] / crypto / bio / bio_err.c
index 75531824c33d8b4c4d06a736f687cbf41ecf6cf7..d032dedbb755ded1b9792c0f1b9e7a84ac6973de 100644 (file)
@@ -112,7 +112,7 @@ static ERR_STRING_DATA BIO_str_reasons[] = {
 
 #endif
 
-void ERR_load_BIO_strings(void)
+int ERR_load_BIO_strings(void)
 {
 #ifndef OPENSSL_NO_ERR
 
@@ -121,4 +121,5 @@ void ERR_load_BIO_strings(void)
         ERR_load_strings(0, BIO_str_reasons);
     }
 #endif
+    return 1;
 }