mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
Fixed regression in r1887085 where a SSL function was used that is not available in OpenSSL 1.0.2.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1887134 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -2323,7 +2323,7 @@ static apr_status_t set_challenge_creds(conn_rec *c, const char *servername,
|
|||||||
|
|
||||||
sslcon->service_unavailable = 1;
|
sslcon->service_unavailable = 1;
|
||||||
if (cert_file) {
|
if (cert_file) {
|
||||||
if (SSL_use_certificate_chain_file(ssl, cert_file) < 1) {
|
if (SSL_use_certificate_file(ssl, cert_file, SSL_FILETYPE_PEM) < 1) {
|
||||||
ap_log_cerror(APLOG_MARK, APLOG_WARNING, 0, c, APLOGNO(10264)
|
ap_log_cerror(APLOG_MARK, APLOG_WARNING, 0, c, APLOGNO(10264)
|
||||||
"Failed to configure challenge certificate %s",
|
"Failed to configure challenge certificate %s",
|
||||||
servername);
|
servername);
|
||||||
|
Reference in New Issue
Block a user