summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--anytun.cpp2
-rw-r--r--cypher.cpp2
2 files changed, 1 insertions, 3 deletions
diff --git a/anytun.cpp b/anytun.cpp
index 2edf026..11bfcb9 100644
--- a/anytun.cpp
+++ b/anytun.cpp
@@ -155,7 +155,7 @@ void* receiver(void* p)
param->c.cypher(pack, seq, sid);
std::cout << "Received Package: seq: " << seq << std::endl << "sID: " << sid << std::endl;
- std::cout << "Package dump: " << seq << std::endl;
+ std::cout << "Package dump: " << pack.getBuf() << std::endl;
// check payload_type and remove it
if((param->dev.getType() == TunDevice::TYPE_TUN && pack.getPayloadType() != PAYLOAD_TYPE_TUN) ||
diff --git a/cypher.cpp b/cypher.cpp
index 66433a6..6ad656b 100644
--- a/cypher.cpp
+++ b/cypher.cpp
@@ -42,7 +42,6 @@ extern "C" {
void Cypher::cypher(Buffer& buf, seq_nr_t seq_nr, sender_id_t sender_id)
{
- std::cout << "Cypher::cypher called" << std::endl;
Buffer stream = getBitStream(buf.getLength(), seq_nr, sender_id);
exor(buf, stream);
}
@@ -89,7 +88,6 @@ Buffer AesIcmCypher::getBitStream(u_int32_t length, seq_nr_t seq_nr, sender_id_t
v128_set_to_zero(&seq);
v128_set_to_zero(&salt);
- std::cout << "AesIcmCypher::getBitStream called" << std::endl;
// allocate cipher
// FIXXME: why we do not can do this???
// status = cipher_type_alloc(&aes_icm, &cipher, key_.getLength());