aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppBitsOfBinaryContentId.cpp
diff options
context:
space:
mode:
authorLinus Jahn <lnj@kaidan.im>2022-08-31 16:27:34 +0200
committerLinus Jahn <lnj@kaidan.im>2022-08-31 16:27:34 +0200
commit7f25af8825000ff037645559a44678ff37280b39 (patch)
tree9fed4dd7add532e2b3b8870a7a9290f297e0b700 /src/base/QXmppBitsOfBinaryContentId.cpp
parentf6e7591e21b4c55319918ac296b2341b2e9f1988 (diff)
parent8538fa898bf66193c2dc0d41eaf4aa40aa0647c8 (diff)
downloadqxmpp-7f25af8825000ff037645559a44678ff37280b39.tar.gz
Merge branch '1.4'
Diffstat (limited to 'src/base/QXmppBitsOfBinaryContentId.cpp')
-rw-r--r--src/base/QXmppBitsOfBinaryContentId.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/base/QXmppBitsOfBinaryContentId.cpp b/src/base/QXmppBitsOfBinaryContentId.cpp
index 3810b31f..c1453b2f 100644
--- a/src/base/QXmppBitsOfBinaryContentId.cpp
+++ b/src/base/QXmppBitsOfBinaryContentId.cpp
@@ -19,10 +19,10 @@ static const QMap<QCryptographicHash::Algorithm, QString> HASH_ALGORITHMS = {
#ifndef QT_CRYPTOGRAPHICHASH_ONLY_SHA1
{ QCryptographicHash::Md4, QStringLiteral("md4") },
{ QCryptographicHash::Md5, QStringLiteral("md5") },
- { QCryptographicHash::Sha224, QStringLiteral("sha224") },
- { QCryptographicHash::Sha256, QStringLiteral("sha256") },
- { QCryptographicHash::Sha384, QStringLiteral("sha384") },
- { QCryptographicHash::Sha512, QStringLiteral("sha512") },
+ { QCryptographicHash::Sha224, QStringLiteral("sha-224") },
+ { QCryptographicHash::Sha256, QStringLiteral("sha-256") },
+ { QCryptographicHash::Sha384, QStringLiteral("sha-384") },
+ { QCryptographicHash::Sha512, QStringLiteral("sha-512") },
{ QCryptographicHash::Sha3_224, QStringLiteral("sha3-224") },
{ QCryptographicHash::Sha3_256, QStringLiteral("sha3-256") },
{ QCryptographicHash::Sha3_384, QStringLiteral("sha3-384") },