Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ native-tls-crate = { version = "0.2.10", optional = true, package = "native-tls"
tokio-native-tls = { version = "0.3.0", optional = true }

# rustls-tls
hyper-rustls = { version = "0.27.0", default-features = false, optional = true, features = ["http1", "tls12"] }
rustls = { version = "0.23.4", optional = true, default-features = false, features = ["std", "tls12"] }
tokio-rustls = { version = "0.26", optional = true, default-features = false, features = ["tls12"] }
hyper-rustls = { git = "https://github.com/fenollp/hyper-rustls.git", branch = "rustls-0.24", default-features = false, optional = true, features = ["http1", "tls12"] }
rustls = { git = "https://github.com/rustls/rustls.git", rev = "30f3753a70c3b138841675b6381c0b63a3005414", optional = true, default-features = false, features = ["std", "tls12"] }
tokio-rustls = { git = "https://github.com/fenollp/tokio-rustls.git", branch = "rustls-0.24", optional = true, default-features = false, features = ["tls12"] }
webpki-roots = { version = "1", optional = true }
rustls-native-certs = { version = "0.8.0", optional = true }

Expand Down
8 changes: 8 additions & 0 deletions src/tls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,10 @@ impl ServerCertVerifier for NoVerifier {
SignatureScheme::ED448,
]
}

fn request_ocsp_response(&self) -> bool {
false
}
}

#[cfg(feature = "__rustls")]
Expand Down Expand Up @@ -720,6 +724,10 @@ impl ServerCertVerifier for IgnoreHostname {
fn supported_verify_schemes(&self) -> Vec<SignatureScheme> {
self.signature_algorithms.supported_schemes()
}

fn request_ocsp_response(&self) -> bool {
todo!()
}
}

/// Hyper extension carrying extra TLS layer information.
Expand Down