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