aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {