diff options
author | Stefan Eissing <icing@apache.org> | 2021-03-02 14:21:18 +0000 |
---|---|---|
committer | Stefan Eissing <icing@apache.org> | 2021-03-02 14:21:18 +0000 |
commit | 5dc01860dbf5273e0557f8912c36667aeb450a3e (patch) | |
tree | ecdc92e22e0a70c82ac47d5fdce0c6cda06554b5 /modules/md | |
parent | ba708f0e78a58efdf210f6003eeb509bedb885f6 (diff) | |
download | httpd-5dc01860dbf5273e0557f8912c36667aeb450a3e.tar.gz |
Adding more ap_ssl_* functions and hooks to the core server.
- ap_ssl_add_cert_files() to enable other modules like mod_md to provide
certificate and keys for an SSL module like mod_ssl.
- ap_ssl_add_fallback_cert_files() to enable other modules like mod_md to
provide a fallback certificate in case no 'proper' certificate is
available for an SSL module like mod_ssl.
- ap_ssl_answer_challenge() to enable other modules like mod_md to
provide a certificate as used in the RFC 8555 'tls-alpn-01' challenge
for the ACME protocol for an SSL module like mod_ssl.
- Hooks for 'ssl_add_cert_files', 'ssl_add_fallback_cert_files' and
'ssl_answer_challenge' where modules like mod_md can provide providers
to the above mentioned functions.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1887085 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/md')
-rw-r--r-- | modules/md/mod_md.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/md/mod_md.c b/modules/md/mod_md.c index 55413f5b67..dac239527f 100644 --- a/modules/md/mod_md.c +++ b/modules/md/mod_md.c @@ -1237,7 +1237,7 @@ static int md_answer_challenge(conn_rec *c, const char *servername, X509 **pcert, EVP_PKEY **pkey) { if (md_is_challenge(c, servername, pcert, pkey)) { - return APR_SUCCESS; + return OK; } return DECLINED; } |