diff options
author | Felix Weilbach <felix.weilbach@nextcloud.com> | 2021-09-23 15:13:34 +0300 |
---|---|---|
committer | Matthieu Gallien (Rebase PR Action) <matthieu_gallien@yahoo.fr> | 2021-09-30 13:23:19 +0300 |
commit | b27eb606ed3ac78f2296552d4d55f191b5118fdd (patch) | |
tree | b82fbf15e98e0f437f7a085f35aaef86932e485b | |
parent | 412be779299daf9f079566376bbcd37ae64b05d5 (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.cpp | 1 |
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; |