Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Weilbach <felix.weilbach@nextcloud.com>2021-09-23 15:13:34 +0300
committerMatthieu Gallien (Rebase PR Action) <matthieu_gallien@yahoo.fr>2021-09-30 13:23:19 +0300
commitb27eb606ed3ac78f2296552d4d55f191b5118fdd (patch)
treeb82fbf15e98e0f437f7a085f35aaef86932e485b
parent412be779299daf9f079566376bbcd37ae64b05d5 (diff)
Don't log encryption data in release mode
We deliver our builds to users with debug logging enabled to have an easier time finding problems. However, logging all the encryption data in this loop is too much and should not be done in release mode. Signed-off-by: Felix Weilbach <felix.weilbach@nextcloud.com>
-rw-r--r--src/libsync/clientsideencryption.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libsync/clientsideencryption.cpp b/src/libsync/clientsideencryption.cpp
index 2611108d0..fd1cd96bb 100644
--- a/src/libsync/clientsideencryption.cpp
+++ b/src/libsync/clientsideencryption.cpp
@@ -1663,7 +1663,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;