summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorStefan Eissing <icing@apache.org>2021-03-03 09:55:23 +0100
committerStefan Eissing <icing@apache.org>2021-03-03 09:55:23 +0100
commit083b4b1b604015f47f164eaef187c1d16a0f7b1a (patch)
tree20a96b80800a80dbac7bd7f65987dd40e62bacdc /modules
parentAdding log tags where log tags are needed. (diff)
downloadapache2-083b4b1b604015f47f164eaef187c1d16a0f7b1a.tar.xz
apache2-083b4b1b604015f47f164eaef187c1d16a0f7b1a.zip
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
Diffstat (limited to 'modules')
-rw-r--r--modules/ssl/ssl_engine_kernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ssl/ssl_engine_kernel.c b/modules/ssl/ssl_engine_kernel.c
index 623d12d9e4..30dd5ee338 100644
--- a/modules/ssl/ssl_engine_kernel.c
+++ b/modules/ssl/ssl_engine_kernel.c
@@ -2323,7 +2323,7 @@ static apr_status_t set_challenge_creds(conn_rec *c, const char *servername,
sslcon->service_unavailable = 1;
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)
"Failed to configure challenge certificate %s",
servername);