Skip to content

Commit

Permalink
address ci failures
Browse files Browse the repository at this point in the history
- correct references to unused Server mode
  • Loading branch information
jmayclin committed Jun 24, 2024
1 parent 42c2736 commit 2982348
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bindings/rust/s2n-tls/src/testing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ impl<Server: Connection, Client: Connection> Pair<Server, Client> {
Mode::Client => self.client.0.poll_action(&mut self.client.1, |conn| {
connection::Connection::poll_send(conn, buf)
}),
Mode::Server => self.server.0.poll_action(&mut self.server.1, |conn| {
Mode::_Server => self.server.0.poll_action(&mut self.server.1, |conn| {
connection::Connection::poll_send(conn, buf)
}),
};
Expand All @@ -152,7 +152,7 @@ impl<Server: Connection, Client: Connection> Pair<Server, Client> {
Mode::Client => self.client.0.poll_action(&mut self.client.1, |conn| {
connection::Connection::poll_recv(conn, buf)
}),
Mode::Server => self.server.0.poll_action(&mut self.server.1, |conn| {
Mode::_Server => self.server.0.poll_action(&mut self.server.1, |conn| {
connection::Connection::poll_recv(conn, buf)
}),
};
Expand Down

0 comments on commit 2982348

Please sign in to comment.