mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-25 15:55:38 -04:00
Improve code style.
This commit is contained in:
parent
4e5e5c71ca
commit
2e011d5362
29 changed files with 95 additions and 89 deletions
|
@ -148,7 +148,7 @@ bool SymmetricCipherStream::writeBlock()
|
|||
else if (m_buffer.size() != m_cipher->blockSize()) {
|
||||
// PKCS7 padding
|
||||
int padLen = m_cipher->blockSize() - m_buffer.size();
|
||||
for (int i=m_buffer.size(); i<m_cipher->blockSize(); i++) {
|
||||
for (int i = m_buffer.size(); i < m_cipher->blockSize(); i++) {
|
||||
m_buffer.append(static_cast<char>(padLen));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue