mirror of
https://github.com/rustdesk/rustdesk-server.git
synced 2025-07-01 15:25:29 +00:00
commit
42cdfb0885
@ -1174,6 +1174,9 @@ impl RendezvousServer {
|
|||||||
let mut tmp = [0u8; sign::SECRETKEYBYTES];
|
let mut tmp = [0u8; sign::SECRETKEYBYTES];
|
||||||
tmp[..].copy_from_slice(&sk);
|
tmp[..].copy_from_slice(&sk);
|
||||||
out_sk = Some(sign::SecretKey(tmp));
|
out_sk = Some(sign::SecretKey(tmp));
|
||||||
|
} else {
|
||||||
|
log::error!("Malformed private key");
|
||||||
|
std::process::exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user