Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Nov 28, 2024
1 parent 0dbc5f6 commit 78ebfba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion esp-mbedtls/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,9 @@ where
#[allow(non_snake_case)]
match res {
// See https://github.com/Mbed-TLS/mbedtls/issues/8749
MBEDTLS_ERR_SSL_WANT_WRITE | MBEDTLS_ERR_SSL_RECEIVED_NEW_SESSION_TICKET => continue, // no data
MBEDTLS_ERR_SSL_WANT_WRITE | MBEDTLS_ERR_SSL_RECEIVED_NEW_SESSION_TICKET => {
continue
} // no data
0_i32..=i32::MAX => return Ok(res as usize), // data
i32::MIN..=-1_i32 => return Err(TlsError::MbedTlsError(res)), // error
}
Expand Down

0 comments on commit 78ebfba

Please sign in to comment.