]> granicus.if.org Git - apache/commitdiff
Fix OpenSSL 1.1.0 breakage in r1781575; BIO_s_file_internal() is gone.
authorWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 16 Feb 2017 21:26:34 +0000 (21:26 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 16 Feb 2017 21:26:34 +0000 (21:26 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1783305 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_util_ocsp.c

index bf84ba56876c47eed3dfe3ad76053356758bd23a..b11a6e924e5786241986e5dd22dbcc47978880dd 100644 (file)
@@ -357,7 +357,7 @@ static STACK_OF(X509) *modssl_read_ocsp_certificates(const char *file)
     unsigned long err;
     STACK_OF(X509) *other_certs = NULL;
 
-    if ((bio = BIO_new(BIO_s_file_internal())) == NULL)
+    if ((bio = BIO_new(BIO_s_file())) == NULL)
         return NULL;
     if (BIO_read_filename(bio, file) <= 0) {
         BIO_free(bio);