mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Fixed compile issue with latest merged changes from upstream
This commit is contained in:
parent
a115bbdc6f
commit
4008e6ab58
@ -77,7 +77,8 @@ static QByteArray decrypt2(const QByteArray & data, SymmetricCipherGcrypt & ciph
|
||||
|
||||
//Decrypt
|
||||
cipher.reset();
|
||||
QByteArray buffer = cipher.process(data);
|
||||
bool ok;
|
||||
QByteArray buffer = cipher.process(data, &ok);
|
||||
|
||||
//Remove PKCS#7 padding
|
||||
buffer.chop(buffer.at(buffer.length()-1));
|
||||
|
Loading…
Reference in New Issue
Block a user