aboutsummaryrefslogtreecommitdiff
path: root/autotests/testolmutility.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'autotests/testolmutility.cpp')
-rw-r--r--autotests/testolmutility.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/autotests/testolmutility.cpp b/autotests/testolmutility.cpp
index 64ceb3e7..4de5afdf 100644
--- a/autotests/testolmutility.cpp
+++ b/autotests/testolmutility.cpp
@@ -78,10 +78,8 @@ void TestOlmUtility::verifySignedOneTimeKey()
delete[](reinterpret_cast<uint8_t *>(utility));
QOlmUtility utility2;
- auto res2 =
- utility2
- .ed25519Verify(aliceOlm.identityKeys().ed25519, msg, signatureBuf1)
- .value_or(false);
+ auto res2 = utility2.ed25519Verify(aliceOlm.identityKeys().ed25519, msg,
+ signatureBuf1);
//QCOMPARE(std::string(olm_utility_last_error(utility)), "SUCCESS");
QVERIFY(res2);