Skip to content

Commit

Permalink
remove debug_log for encryption sanity check failed message
Browse files Browse the repository at this point in the history
  • Loading branch information
schnello committed Aug 3, 2015
1 parent 86ff6fb commit 23448d7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/protocols/MeterOMS.cpp
Expand Up @@ -298,7 +298,6 @@ ssize_t MeterOMS::read(std::vector<Reading> &rds, size_t n)
aes_decrypt(frame.data+12, 16*nr_enc_16byte_blocks, _aes_key, iv );
if (_mbus_debug) mbus_frame_print(&frame);
if (frame.length1<=14 || frame.data[12] != 0x2f || frame.data[13] != 0x2f) {
print(log_debug, "encryption sanity check failed", name().c_str());
print(log_error, "encryption sanity check failed", name().c_str());
} else {
print(log_finest, "successfully decrypted a frame", name().c_str());
Expand Down

0 comments on commit 23448d7

Please sign in to comment.