From 4008e6ab584e34ccec6517ca42848b312f473668 Mon Sep 17 00:00:00 2001 From: Ivan Date: Fri, 22 May 2015 21:23:21 -0700 Subject: [PATCH] Fixed compile issue with latest merged changes from upstream --- src/http/Protocol.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/http/Protocol.cpp b/src/http/Protocol.cpp index 70ee223e8..811041e41 100644 --- a/src/http/Protocol.cpp +++ b/src/http/Protocol.cpp @@ -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));