aboutsummaryrefslogtreecommitdiff
path: root/src/base
diff options
context:
space:
mode:
Diffstat (limited to 'src/base')
-rw-r--r--src/base/QXmppBitsOfBinaryContentId.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/base/QXmppBitsOfBinaryContentId.cpp b/src/base/QXmppBitsOfBinaryContentId.cpp
index cc66302d..f47dcc26 100644
--- a/src/base/QXmppBitsOfBinaryContentId.cpp
+++ b/src/base/QXmppBitsOfBinaryContentId.cpp
@@ -26,6 +26,10 @@ static const QMap<QCryptographicHash::Algorithm, QString> HASH_ALGORITHMS = {
{ QCryptographicHash::Sha3_256, QStringLiteral("sha3-256") },
{ QCryptographicHash::Sha3_384, QStringLiteral("sha3-384") },
{ QCryptographicHash::Sha3_512, QStringLiteral("sha3-512") },
+#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
+ { QCryptographicHash::Blake2b_256, QStringLiteral("blake2b-256") },
+ { QCryptographicHash::Blake2b_512, QStringLiteral("blake2b-512") },
+#endif
};
class QXmppBitsOfBinaryContentIdPrivate : public QSharedData