diff options
author | Alexey Andreyev <aa13q@ya.ru> | 2019-07-08 16:40:57 +0300 |
---|---|---|
committer | Alexey Andreyev <aa13q@ya.ru> | 2019-07-08 16:45:50 +0300 |
commit | 36ba515437198659205fceabcdcea0db2d3a6dba (patch) | |
tree | 48b90e18294a2a46e6254eabbb990a06c19ed1ef /lib | |
parent | f8eb9db4c4c13d6db65d23393fdcda2ac020bb3e (diff) | |
download | libquotient-36ba515437198659205fceabcdcea0db2d3a6dba.tar.gz libquotient-36ba515437198659205fceabcdcea0db2d3a6dba.zip |
E2EE: fix EncryptionManager algorithm names
Diffstat (limited to 'lib')
-rw-r--r-- | lib/encryptionmanager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/encryptionmanager.cpp b/lib/encryptionmanager.cpp index c2e244fc..50db9889 100644 --- a/lib/encryptionmanager.cpp +++ b/lib/encryptionmanager.cpp @@ -16,9 +16,9 @@ using std::move; static const auto ed25519Name = QStringLiteral("ed25519"); static const auto Curve25519Name = QStringLiteral("curve25519"); static const auto SignedCurve25519Name = QStringLiteral("signed_curve25519"); -static const auto OlmCurve25519AesSha256AlgoName = QStringLiteral("m.olm.curve25519-aes-sha256"); -static const auto MegolmV1AesShaAlgoName = QStringLiteral("m.megolm.v1.aes-sha"); -static const QStringList SupportedAlgorithms = { OlmCurve25519AesSha256AlgoName, MegolmV1AesShaAlgoName }; +static const auto OlmV1Curve25519AesSha2AlgoName = QStringLiteral("m.olm.v1.curve25519-aes-sha2"); +static const auto MegolmV1AesSha2AlgoName = QStringLiteral("m.megolm.v1.aes-sha2"); +static const QStringList SupportedAlgorithms = { OlmV1Curve25519AesSha2AlgoName, MegolmV1AesSha2AlgoName }; class EncryptionManager::Private { |