mirror of
https://github.com/apache/httpd.git
synced 2025-08-13 14:40:20 +00:00
Support OpenSSL 1.1.0.
- use common code for OpenSSL pre-1.1.0 and 1.1.0 where possible. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1730422 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -876,11 +876,7 @@ 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