aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTobias Fella <9750016+TobiasFella@users.noreply.github.com>2022-02-27 17:47:20 +0100
committerGitHub <noreply@github.com>2022-02-27 17:47:20 +0100
commit0928bd405f4958d3a12277614d2715cfac1f7ac0 (patch)
tree0819dc735c30d145d75b360619691ca827ec1342 /lib
parentfc2ffecd22d6008426c2305dbeb31fc2caab6163 (diff)
downloadlibquotient-0928bd405f4958d3a12277614d2715cfac1f7ac0.tar.gz
libquotient-0928bd405f4958d3a12277614d2715cfac1f7ac0.zip
Update lib/e2ee/qolmutility.cpp
Co-authored-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'lib')
-rw-r--r--lib/e2ee/qolmutility.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/e2ee/qolmutility.cpp b/lib/e2ee/qolmutility.cpp
index 5d1bc18d..9f09a37f 100644
--- a/lib/e2ee/qolmutility.cpp
+++ b/lib/e2ee/qolmutility.cpp
@@ -54,7 +54,7 @@ std::variant<bool, QOlmError> QOlmUtility::ed25519Verify(const QByteArray &key,
if (error == QOlmError::BadMessageMac) {
return false;
}
- return lastError(m_utility);
+ return error;
}
if (ret != 0) {