Skip to content

Commit 1179a65

Browse files
committed
Follow [email protected] features changes
Signed-off-by: Pierre Fenoll <[email protected]>
1 parent 6358cef commit 1179a65

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,9 @@ native-tls-crate = { version = "0.2.10", optional = true, package = "native-tls"
148148
tokio-native-tls = { version = "0.3.0", optional = true }
149149

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

src/tls.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,10 @@ impl ServerCertVerifier for NoVerifier {
655655
SignatureScheme::ED448,
656656
]
657657
}
658+
659+
fn request_ocsp_response(&self) -> bool {
660+
false
661+
}
658662
}
659663

660664
#[cfg(feature = "__rustls")]
@@ -720,6 +724,10 @@ impl ServerCertVerifier for IgnoreHostname {
720724
fn supported_verify_schemes(&self) -> Vec<SignatureScheme> {
721725
self.signature_algorithms.supported_schemes()
722726
}
727+
728+
fn request_ocsp_response(&self) -> bool {
729+
todo!()
730+
}
723731
}
724732

725733
/// Hyper extension carrying extra TLS layer information.

0 commit comments

Comments
 (0)