From f58271afbc238a558043bcf586c77f36f117444b Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Sun, 9 Dec 2007 12:02:44 +0000 Subject: fixed to much removed code --- anytun.cpp | 7 ++++--- 1 file 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()); -- cgit v1.2.3