mirror of https://github.com/nextcloud/desktop
Fix review comments.
Signed-off-by: allexzander <blackslayer4@gmail.com>
This commit is contained in:
parent
a80c58f367
commit
bf39f053c4
|
@ -708,8 +708,8 @@ QByteArray decryptStringAsymmetric(EVP_PKEY *privateKey, const QByteArray& data)
|
|||
QByteArray out(outlen, '\0');
|
||||
|
||||
if (EVP_PKEY_decrypt(ctx, unsignedData(out), &outlen, (unsigned char *)data.constData(), data.size()) <= 0) {
|
||||
qCCritical(lcCseDecryption()) << "Could not decrypt the data.";
|
||||
qCCritical(lcCseDecryption()) << handleErrors();
|
||||
const auto error = handleErrors();
|
||||
qCCritical(lcCseDecryption()) << "Could not decrypt the data." << error;
|
||||
return {};
|
||||
} else {
|
||||
qCInfo(lcCseDecryption()) << "data decrypted successfully";
|
||||
|
|
Loading…
Reference in New Issue