mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
mod_ssl: Fix a problem setting variables that represent the
client certificate chain. PR: 21371 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100605 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -290,7 +290,7 @@ static char *ssl_var_lookup_ssl(apr_pool_t *p, conn_rec *c, char *var)
|
||||
}
|
||||
else if (ssl != NULL && strlen(var) > 18 && strcEQn(var, "CLIENT_CERT_CHAIN_", 18)) {
|
||||
sk = SSL_get_peer_cert_chain(ssl);
|
||||
result = ssl_var_lookup_ssl_cert_chain(p, sk, var+17);
|
||||
result = ssl_var_lookup_ssl_cert_chain(p, sk, var+18);
|
||||
}
|
||||
else if (ssl != NULL && strcEQ(var, "CLIENT_VERIFY")) {
|
||||
result = ssl_var_lookup_ssl_cert_verify(p, c);
|
||||
|
Reference in New Issue
Block a user