diff options
author | Othmar Gsenger <otti@anytun.org> | 2007-12-09 12:02:44 +0000 |
---|---|---|
committer | Othmar Gsenger <otti@anytun.org> | 2007-12-09 12:02:44 +0000 |
commit | f58271afbc238a558043bcf586c77f36f117444b (patch) | |
tree | 9203c2291a3bb97c8c70d0e930b0e27781212e95 | |
parent | removed some code for debugging (diff) |
fixed to much removed code
-rw-r--r-- | anytun.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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()); |