mirror of
https://github.com/apache/httpd.git
synced 2025-08-05 16:55:50 +03:00
Support for OpenSSL 1.1.0:
- BIO was made opaque after OpenSSL 1.1.0pre4. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1737657 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -356,6 +356,9 @@ apr_status_t ssl_init_Module(apr_pool_t *p, apr_pool_t *plog,
|
||||
modssl_init_app_data2_idx(); /* for modssl_get_app_data2() at request time */
|
||||
|
||||
init_dh_params();
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
|
||||
init_bio_methods();
|
||||
#endif
|
||||
|
||||
return OK;
|
||||
}
|
||||
@@ -1984,6 +1987,9 @@ apr_status_t ssl_init_ModuleKill(void *data)
|
||||
ssl_init_ctx_cleanup(sc->server);
|
||||
}
|
||||
|
||||
#if OPENSSL_VERSION_NUMBER >= 0x10100000L
|
||||
free_bio_methods();
|
||||
#endif
|
||||
free_dh_params();
|
||||
|
||||
return APR_SUCCESS;
|
||||
|
Reference in New Issue
Block a user