aboutsummaryrefslogtreecommitdiff
path: root/autotests/testolmaccount.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'autotests/testolmaccount.cpp')
-rw-r--r--autotests/testolmaccount.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/autotests/testolmaccount.cpp b/autotests/testolmaccount.cpp
index 56532698..53a0c955 100644
--- a/autotests/testolmaccount.cpp
+++ b/autotests/testolmaccount.cpp
@@ -60,8 +60,7 @@ void TestOlmAccount::signatureValid()
QOlmUtility utility;
const auto identityKeys = olmAccount.identityKeys();
const auto ed25519Key = identityKeys.ed25519;
- const auto verify = utility.ed25519Verify(ed25519Key, message, signature);
- QVERIFY(verify.value_or(false));
+ QVERIFY(utility.ed25519Verify(ed25519Key, message, signature));
}
void TestOlmAccount::oneTimeKeysValid()