mirror of
https://github.com/zerotier/zssp.git
synced 2026-05-22 16:28:40 -07:00
+1
-1
@@ -1623,7 +1623,7 @@ pub(crate) fn received_k2_trans<Crypto: CryptoLayer, App: ApplicationLayer<Crypt
|
||||
/// Corresponds to Algorithm 9 found in Section 4.3.
|
||||
pub(crate) fn send_payload<Crypto: CryptoLayer>(
|
||||
ctx: &Arc<ContextInner<Crypto>>,
|
||||
session: &Arc<Session<Crypto>>,
|
||||
session: &Session<Crypto>,
|
||||
payload: &[u8],
|
||||
mut send: impl FnMut(&mut [u8]) -> bool,
|
||||
mtu_sized_buffer: &mut [u8],
|
||||
|
||||
+1
-1
@@ -592,7 +592,7 @@ impl<Crypto: CryptoLayer> Context<Crypto> {
|
||||
/// * `data` - Data to send
|
||||
pub fn send(
|
||||
&self,
|
||||
session: &Arc<Session<Crypto>>,
|
||||
session: &Session<Crypto>,
|
||||
send: impl FnMut(&mut [u8]) -> bool,
|
||||
mtu_sized_buffer: &mut [u8],
|
||||
data: &[u8],
|
||||
|
||||
Reference in New Issue
Block a user