diff options
-rw-r--r-- | anytun.cpp | 2 | ||||
-rw-r--r-- | cypher.cpp | 2 |
2 files changed, 1 insertions, 3 deletions
@@ -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) || @@ -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()); |