mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
Fixed compile issue with latest merged changes from upstream
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user