diff options
author | Richard van der Hoff <richard@matrix.org> | 2016-05-16 11:22:10 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2016-05-16 11:22:10 +0100 |
commit | d37edaecc5fcdcc18ec1615c485f4410d6cbb4bb (patch) | |
tree | fcc4ad015412b06fdf14a0928703db87ca8e1080 /src/message.cpp | |
parent | b1db016baa2a66b37d309a627d9dd00486f57cc9 (diff) | |
parent | 3965320a9ce2a41a96b962e8f5bf396f328d1aad (diff) |
Merge branch 'rav/remove_logging'
Diffstat (limited to 'src/message.cpp')
-rw-r--r-- | src/message.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/message.cpp b/src/message.cpp index 23ec823..1c93eb8 100644 --- a/src/message.cpp +++ b/src/message.cpp @@ -14,13 +14,10 @@ */ #include "olm/message.hh" -#include "olm/logging.hh" #include "olm/memory.hh" namespace { -static const char *LOG_CATEGORY = "olm::Message"; - template<typename T> static std::size_t varint_length( T value @@ -239,13 +236,6 @@ void olm::decode_message( } unknown = pos; } - olm::logf(olm::LOG_TRACE, LOG_CATEGORY, - "Decoded message ver=%i ratchet_key=%s chain_idx=%i ciphertext=%s", - reader.version, - olm::bytes_to_string(reader.ratchet_key, reader.ratchet_key_length).c_str(), - reader.has_counter ? reader.counter : -1, - olm::bytes_to_string(reader.ciphertext, reader.ciphertext_length).c_str() - ); } @@ -334,14 +324,4 @@ void olm::decode_one_time_key_message( } unknown = pos; } - - olm::logf(olm::LOG_TRACE, LOG_CATEGORY, - "Decoded pre-key message ver=%i one_time_key[Eb]=%s " - "base_key[Ea]=%s identity_key[Ia]=%s message=%s", - reader.version, - olm::bytes_to_string(reader.one_time_key, reader.one_time_key_length).c_str(), - olm::bytes_to_string(reader.base_key, reader.base_key_length).c_str(), - olm::bytes_to_string(reader.identity_key, reader.identity_key_length).c_str(), - olm::bytes_to_string(reader.message, reader.message_length).c_str() - ); } |