summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2007-12-09 12:02:44 +0000
committerOthmar Gsenger <otti@anytun.org>2007-12-09 12:02:44 +0000
commitf58271afbc238a558043bcf586c77f36f117444b (patch)
tree9203c2291a3bb97c8c70d0e930b0e27781212e95
parentremoved some code for debugging (diff)
fixed to much removed code
-rw-r--r--anytun.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/anytun.cpp b/anytun.cpp
index 27cc392..7043936 100644
--- a/anytun.cpp
+++ b/anytun.cpp
@@ -171,7 +171,7 @@ void* receiver(void* p)
// // check auth_tag and remove it
// AuthTag at = pack.getAuthTag();
-// pack.removeAuthTag();
+ pack.removeAuthTag();
// if(at != a.calc(pack))
// continue;
@@ -190,8 +190,9 @@ void* receiver(void* p)
if(conn.seq_.hasSeqNr(pack.getSenderId(), pack.getSeqNr()))
continue;
conn.seq_.addSeqNr(pack.getSenderId(), pack.getSeqNr());
- pack.removeHeader();
-
+*/
+ pack.removeHeader();
+/*
// decypher the packet
Buffer tmp_key(16), tmp_salt(14);
//conn.kd_.generate(label_satp_encryption, seq, tmp_key, tmp_key.getLength());