mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 20:13:44 +02:00
Build fix.
This commit is contained in:
parent
0edb7776c7
commit
8376cfe15d
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ impl Peer {
|
||||||
// fails we fall back to the static secret. If decryption with an ephemeral secret succeeds
|
// fails we fall back to the static secret. If decryption with an ephemeral secret succeeds
|
||||||
// the forward secrecy flag in the receive path is set.
|
// the forward secrecy flag in the receive path is set.
|
||||||
let forward_secrecy = {
|
let forward_secrecy = {
|
||||||
let mut secret = &mut rx.static_secret;
|
let mut secret = if rx.ephemeral_secret.is_some() { rx.ephemeral_secret.as_mut().unwrap() } else { &mut rx.static_secret };
|
||||||
loop {
|
loop {
|
||||||
match header.cipher() {
|
match header.cipher() {
|
||||||
CIPHER_NOCRYPT_POLY1305 => {
|
CIPHER_NOCRYPT_POLY1305 => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue