mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Support for OpenSSL 1.1.0:
- mod_ssl Look out for "XXX: OpenSSL 1.1.0:" for a few open problems. Not tested with test suite yet. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1728909 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -872,7 +872,11 @@ static int use_certificate_chain(
|
||||
unsigned long err;
|
||||
int n;
|
||||
|
||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
if ((bio = BIO_new(BIO_s_file_internal())) == NULL)
|
||||
#else
|
||||
if ((bio = BIO_new(BIO_s_file())) == NULL)
|
||||
#endif
|
||||
return -1;
|
||||
if (BIO_read_filename(bio, file) <= 0) {
|
||||
BIO_free(bio);
|
||||
|
Reference in New Issue
Block a user