Merge pull request #3827 from nextcloud/bugfix/dont-log-encryption

Don't log encryption data in release mode
This commit is contained in:
Matthieu Gallien 2021-09-27 22:28:33 +02:00 committed by GitHub
commit 6f03a9ffe1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1667,7 +1667,6 @@ bool EncryptionHelper::fileEncryption(const QByteArray &key, const QByteArray &i
return false;
}
qCDebug(lcCse) << "Encrypting " << data;
if(!EVP_EncryptUpdate(ctx, unsignedData(out), &len, (unsigned char *)data.constData(), data.size())) {
qCInfo(lcCse()) << "Could not encrypt";
return false;