From 4ce75db53217849eaf3663df2256ebd55808185e Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Wed, 31 Aug 2022 16:30:27 +0200 Subject: BobContentId: Don't check for QT_CRYPTOGRAPHICHASH_ONLY_SHA1 QT_CRYPTOGRAPHICHASH_ONLY_SHA1 is only used internally. --- src/base/QXmppBitsOfBinaryContentId.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/base/QXmppBitsOfBinaryContentId.cpp') diff --git a/src/base/QXmppBitsOfBinaryContentId.cpp b/src/base/QXmppBitsOfBinaryContentId.cpp index c1453b2f..cc66302d 100644 --- a/src/base/QXmppBitsOfBinaryContentId.cpp +++ b/src/base/QXmppBitsOfBinaryContentId.cpp @@ -16,7 +16,6 @@ static const QMap HASH_ALGORITHMS = { { QCryptographicHash::Sha1, QStringLiteral("sha1") }, -#ifndef QT_CRYPTOGRAPHICHASH_ONLY_SHA1 { QCryptographicHash::Md4, QStringLiteral("md4") }, { QCryptographicHash::Md5, QStringLiteral("md5") }, { QCryptographicHash::Sha224, QStringLiteral("sha-224") }, @@ -27,7 +26,6 @@ static const QMap HASH_ALGORITHMS = { { QCryptographicHash::Sha3_256, QStringLiteral("sha3-256") }, { QCryptographicHash::Sha3_384, QStringLiteral("sha3-384") }, { QCryptographicHash::Sha3_512, QStringLiteral("sha3-512") }, -#endif }; class QXmppBitsOfBinaryContentIdPrivate : public QSharedData -- cgit v1.2.3