mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +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:
3
CHANGES
3
CHANGES
@@ -2,6 +2,9 @@ Changes with Apache 2.1.0-dev
|
|||||||
|
|
||||||
[Remove entries to the current 2.0 section below, when backported]
|
[Remove entries to the current 2.0 section below, when backported]
|
||||||
|
|
||||||
|
*) mod_ssl: Fix a problem setting variables that represent the
|
||||||
|
client certificate chain. PR 21397 [Jeff Trawick]
|
||||||
|
|
||||||
*) Remember an authenticated user during internal redirects if the
|
*) Remember an authenticated user during internal redirects if the
|
||||||
redirection target is not access protected and pass it
|
redirection target is not access protected and pass it
|
||||||
to scripts using the REDIRECT_REMOTE_USER environment variable.
|
to scripts using the REDIRECT_REMOTE_USER environment variable.
|
||||||
|
@@ -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)) {
|
else if (ssl != NULL && strlen(var) > 18 && strcEQn(var, "CLIENT_CERT_CHAIN_", 18)) {
|
||||||
sk = SSL_get_peer_cert_chain(ssl);
|
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")) {
|
else if (ssl != NULL && strcEQ(var, "CLIENT_VERIFY")) {
|
||||||
result = ssl_var_lookup_ssl_cert_verify(p, c);
|
result = ssl_var_lookup_ssl_cert_verify(p, c);
|
||||||
|
Reference in New Issue
Block a user