aboutsummaryrefslogtreecommitdiff
path: root/lib/events/encryptedfile.cpp
diff options
context:
space:
mode:
authorTobias Fella <9750016+TobiasFella@users.noreply.github.com>2022-05-18 22:02:50 +0200
committerGitHub <noreply@github.com>2022-05-18 22:02:50 +0200
commitc671867a0a3e2a6ad0e7ae6e93fa09467c06188f (patch)
tree6c8605a54480ec85b385e25f263d775d0dbfaead /lib/events/encryptedfile.cpp
parent89d8f6c44f86a27df28b1d89a80564fb0d4d89fc (diff)
downloadlibquotient-c671867a0a3e2a6ad0e7ae6e93fa09467c06188f.tar.gz
libquotient-c671867a0a3e2a6ad0e7ae6e93fa09467c06188f.zip
Apply suggestions from code review
Co-authored-by: Alexey Rusakov <Kitsune-Ral@users.sf.net>
Diffstat (limited to 'lib/events/encryptedfile.cpp')
-rw-r--r--lib/events/encryptedfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/events/encryptedfile.cpp b/lib/events/encryptedfile.cpp
index bb4e26c7..d35ee28f 100644
--- a/lib/events/encryptedfile.cpp
+++ b/lib/events/encryptedfile.cpp
@@ -75,7 +75,7 @@ std::pair<EncryptedFile, QByteArray> EncryptedFile::encryptFile(const QByteArray
EncryptedFile file = {{}, key, ivBase64.left(ivBase64.indexOf('=')), {{QStringLiteral("sha256"), hash.left(hash.indexOf('='))}}, "v2"_ls};
return {file, cipherText};
#else
- return {{}, {}};
+ return {};
#endif
}