diff --git a/bindings/rust/s2n-tls/src/testing/s2n_tls.rs b/bindings/rust/s2n-tls/src/testing/s2n_tls.rs index 4033d517a64..34d6c89aa91 100644 --- a/bindings/rust/s2n-tls/src/testing/s2n_tls.rs +++ b/bindings/rust/s2n-tls/src/testing/s2n_tls.rs @@ -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