Fixed compile issue with latest merged changes from upstream

This commit is contained in:
Ivan 2015-05-22 21:23:21 -07:00
parent a115bbdc6f
commit 4008e6ab58

View File

@ -77,7 +77,8 @@ static QByteArray decrypt2(const QByteArray & data, SymmetricCipherGcrypt & ciph
//Decrypt //Decrypt
cipher.reset(); cipher.reset();
QByteArray buffer = cipher.process(data); bool ok;
QByteArray buffer = cipher.process(data, &ok);
//Remove PKCS#7 padding //Remove PKCS#7 padding
buffer.chop(buffer.at(buffer.length()-1)); buffer.chop(buffer.at(buffer.length()-1));