Skip to content

Commit

Permalink
Fixes broken link in comment (#4060)
Browse files Browse the repository at this point in the history
  • Loading branch information
maddeleine authored Jun 22, 2023
1 parent 6592bba commit 3a6b566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/rust/s2n-tls/src/testing/s2n_tls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ impl<'a, T: 'a + Context> Callback<'a, T> {
let data = core::slice::from_raw_parts_mut(data, len as _);
match context.on_read(data) {
0 => {
// https://github.com/awslabs/s2n/blob/main/docs/USAGE-GUIDE.md#s2n_connection_set_send_cb
// https://aws.github.io/s2n-tls/doxygen/s2n_8h.html#a699fd9e05a8e8163811db6cab01af973
// s2n-tls wants us to set the global errno to signal blocked
errno::set_errno(errno::Errno(libc::EWOULDBLOCK));
-1
Expand Down

0 comments on commit 3a6b566

Please sign in to comment.