mirror of
https://github.com/vgough/encfs.git
synced 2024-12-29 10:09:20 +01:00
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:
parent
00248b6a8f
commit
c44b208078
@ -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;
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user