mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-03-16 11:26:11 -04:00
SymmetricCipherStream: Fix error string when detecting an error while writing.
This commit is contained in:
parent
fdec16c3a0
commit
fcb5deff0a
@ -219,7 +219,7 @@ bool SymmetricCipherStream::writeBlock(bool lastBlock)
|
||||
|
||||
if (m_baseDevice->write(m_buffer) != m_buffer.size()) {
|
||||
m_error = true;
|
||||
setErrorString(m_cipher->errorString());
|
||||
setErrorString(m_baseDevice->errorString());
|
||||
return false;
|
||||
}
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user