File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
validation/esp32-test/src Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -113,12 +113,6 @@ fn run_tls_server(server_config: ServerConfig, tx: mpsc::Sender<u16>) {
113113
114114 let mut tls_stream = Stream :: new ( & mut tls_conn, & mut tcp_stream) ;
115115
116- // Perform TLS handshake
117- if let Err ( e) = tls_conn. complete_io ( & mut tls_stream) {
118- error ! ( "TLS handshake failed: {:?}" , e) ;
119- return ;
120- }
121-
122116 info ! ( "TLS handshake completed successfully" ) ;
123117
124118 // Read and echo data
@@ -180,12 +174,6 @@ fn run_tls_client(client_config: ClientConfig, port: u16) {
180174
181175 let mut tls_stream = Stream :: new ( & mut tls_conn, & mut tcp_stream) ;
182176
183- // Perform TLS handshake
184- if let Err ( e) = tls_conn. complete_io ( & mut tls_stream) {
185- error ! ( "TLS handshake failed: {:?}" , e) ;
186- return ;
187- }
188-
189177 info ! ( "TLS handshake completed successfully" ) ;
190178
191179 // Send test message
You can’t perform that action at this time.
0 commit comments