refactor: update rustls and fix response header server name

This commit is contained in:
Jun Kurihara 2023-08-08 16:27:21 +09:00
commit 3dbe9c7217
No known key found for this signature in database
GPG key ID: D992B3E3DE1DED23
5 changed files with 10 additions and 8 deletions

View file

@ -115,7 +115,7 @@ impl ServerCryptoBase {
// add client certificate if specified
match certs_and_keys.parse_client_ca_certs() {
Ok((owned_trust_anchors, _subject_key_ids)) => {
client_ca_roots_local.add_server_trust_anchors(owned_trust_anchors.into_iter());
client_ca_roots_local.add_trust_anchors(owned_trust_anchors.into_iter());
}
Err(e) => {
warn!(