diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-09-25 21:37:49 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2022-09-25 21:37:49 +0200 |
commit | 5904a61c59f0eef00aef07ef998658fd791ff139 (patch) | |
tree | 58d3a367918d1516efeba2e4bff632f3b5f4e4a5 /lib/e2ee/qolmutility.h | |
parent | 62f9e5b7d1227a85f80ae49abcb555e4fe4c52f0 (diff) | |
download | libquotient-5904a61c59f0eef00aef07ef998658fd791ff139.tar.gz libquotient-5904a61c59f0eef00aef07ef998658fd791ff139.zip |
QOlmUtility::ed25519Verify: just return bool
It's too easy to incorrectly test the previous return type.
Diffstat (limited to 'lib/e2ee/qolmutility.h')
-rw-r--r-- | lib/e2ee/qolmutility.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/e2ee/qolmutility.h b/lib/e2ee/qolmutility.h index 5f6bcdc5..6c1c8624 100644 --- a/lib/e2ee/qolmutility.h +++ b/lib/e2ee/qolmutility.h @@ -29,8 +29,8 @@ public: //! \param key QByteArray The public part of the ed25519 key that signed the message. //! \param message QByteArray The message that was signed. //! \param signature QByteArray The signature of the message. - QOlmExpected<bool> ed25519Verify(const QByteArray &key, - const QByteArray &message, const QByteArray &signature); + bool ed25519Verify(const QByteArray &key, + const QByteArray &message, QByteArray signature); private: OlmUtility *m_utility; |