summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2007-12-09 12:11:46 +0000
committerOthmar Gsenger <otti@anytun.org>2007-12-09 12:11:46 +0000
commitfd0d75191f4f55a6a6da7acbe1e968fed0853f2a (patch)
treec113e9e08875f7cca25654f864c99cdc40d3c89a
parentfixed to much removed code (diff)
removed some code in sender (crypto)
-rw-r--r--anytun.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/anytun.cpp b/anytun.cpp
index 7043936..b856015 100644
--- a/anytun.cpp
+++ b/anytun.cpp
@@ -111,7 +111,7 @@ void* sender(void* p)
pack.addPayloadType(0);
// cypher the packet
- Buffer tmp_key(16), tmp_salt(14);
+/* Buffer tmp_key(16), tmp_salt(14);
//TODO fix key derivation!
//conn.kd_.generate(label_satp_encryption, seq, tmp_key, tmp_key.getLength());
//conn.kd_.generate(label_satp_salt, seq, tmp_salt, tmp_salt.getLength());
@@ -123,7 +123,7 @@ void* sender(void* p)
c.cypher(pack, seq, param->opt.getSenderId());
- // add header to packet
+*/ // add header to packet
pack.addHeader(seq, param->opt.getSenderId());
seq++;