diff options
| author | Linus Jahn <lnj@kaidan.im> | 2022-08-31 16:30:27 +0200 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2022-08-31 16:30:27 +0200 |
| commit | 4ce75db53217849eaf3663df2256ebd55808185e (patch) | |
| tree | 65bcf8112b2f800a6291b2f7fad15279ac5e21cc /src/base/QXmppBitsOfBinaryContentId.cpp | |
| parent | 7f25af8825000ff037645559a44678ff37280b39 (diff) | |
| download | qxmpp-4ce75db53217849eaf3663df2256ebd55808185e.tar.gz | |
BobContentId: Don't check for QT_CRYPTOGRAPHICHASH_ONLY_SHA1
QT_CRYPTOGRAPHICHASH_ONLY_SHA1 is only used internally.
Diffstat (limited to 'src/base/QXmppBitsOfBinaryContentId.cpp')
| -rw-r--r-- | src/base/QXmppBitsOfBinaryContentId.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
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<QCryptographicHash::Algorithm, QString> 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<QCryptographicHash::Algorithm, QString> 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 |
