aboutsummaryrefslogtreecommitdiffstats
path: root/src/server.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/server.rs')
-rw-r--r--src/server.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server.rs b/src/server.rs
index 508bb36..6f19fb0 100644
--- a/src/server.rs
+++ b/src/server.rs
@@ -30,11 +30,12 @@ fn run_server(path: &str, is_recv: bool, recursive: bool, daemonize: bool) {
let read_nonce = secretbox::gen_nonce();
let write_nonce = secretbox::gen_nonce();
- // XXX:
+ /* XXX: DEBUG:
assert!(secret_key == string2key(&key2string(&secret_key)).unwrap());
assert!(read_nonce == string2nonce(&nonce2string(&read_nonce)).unwrap());
let read_nonce = secretbox::Nonce::from_slice(&[0; secretbox::NONCEBYTES]).unwrap();
let write_nonce = secretbox::Nonce::from_slice(&[0; secretbox::NONCEBYTES]).unwrap();
+ */
// Send back details so client can connect
println!("UCP CONNECT {} {} {} {} {}",