mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-07 21:13:44 +02:00
added comment
This commit is contained in:
parent
b58858a343
commit
e64004a0a4
1 changed files with 1 additions and 1 deletions
|
@ -1183,7 +1183,7 @@ fn send_ephemeral_offer<SendFunction: FnMut(&mut [u8])>(
|
||||||
header_check_cipher: Option<&Aes>, // None to use one based on the recipient's public key for initial contact
|
header_check_cipher: Option<&Aes>, // None to use one based on the recipient's public key for initial contact
|
||||||
mtu: usize,
|
mtu: usize,
|
||||||
current_time: i64,
|
current_time: i64,
|
||||||
ret_ephemeral_offer: &mut Option<EphemeralOffer>
|
ret_ephemeral_offer: &mut Option<EphemeralOffer>//We want to prevent copying the EphemeralOffer up the stack because it's very big. ret_ephemeral_offer will be overwritten with the returned EphemeralOffer when the call completes.
|
||||||
) -> Result<(), Error> {
|
) -> Result<(), Error> {
|
||||||
// Generate a NIST P-384 pair.
|
// Generate a NIST P-384 pair.
|
||||||
let alice_e_keypair = P384KeyPair::generate();
|
let alice_e_keypair = P384KeyPair::generate();
|
||||||
|
|
Loading…
Add table
Reference in a new issue