mirror of https://github.com/ctz/rustls
API tests: ignore warnings in ClientStorage mock
This is a complete mock for `rustls::client::ClientSessionStore`, but we don't have tests that use 100% of its abilities.
This commit is contained in:
parent
2a7aeec6e8
commit
0eab92f3f0
|
@ -3503,6 +3503,7 @@ impl rustls::server::StoresServerSessions for ServerStorage {
|
|||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
#[allow(dead_code)] // complete mock, but not 100% used in tests
|
||||
enum ClientStorageOp {
|
||||
SetKxHint(ServerName<'static>, rustls::NamedGroup),
|
||||
GetKxHint(ServerName<'static>, Option<rustls::NamedGroup>),
|
||||
|
|
Loading…
Reference in New Issue