fix botan post-decryption test

git-svn-id: http://encfs.googlecode.com/svn/trunk@109 db9cf616-1c43-0410-9cb8-a902689de0d6
This commit is contained in:
Valient Gough 2013-06-22 20:08:14 +00:00
parent 00248b6a8f
commit c44b208078

View File

@ -174,8 +174,8 @@ class BotanBlockCipher : public BlockCipher {
auto written = decryptor->read(out, size, Pipe::LAST_MESSAGE);
LOG_IF(ERROR, (int)written != size) << "expected output size " << size
<< ", got " << written;
LOG_IF(ERROR, encryptor->remaining() > 0) << "unread bytes in pipe: "
<< encryptor->remaining();
LOG_IF(ERROR, decryptor->remaining() > 0) << "unread bytes in pipe: "
<< decryptor->remaining();
return true;
}
};