Search
SailfishOS Open Build Service
>
Projects
>
sailfishos
:
chum
:
testing
>
libqxmpp
> _service:tar_git:004-Hashing.patch
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:004-Hashing.patch of Package libqxmpp
diff --git a/src/base/QXmppHashing.cpp b/src/base/QXmppHashing.cpp index 3c64661a..87b868f2 100644 --- a/src/base/QXmppHashing.cpp +++ b/src/base/QXmppHashing.cpp @@ -28,10 +28,12 @@ static HashAlgorithm toHashAlgorithm(QCryptographicHash::Algorithm algorithm) { switch (algorithm) { case QCryptographicHash::Md4: +#if QT_VERSION >= QT_VERSION_CHECK(5, 9, 2) case QCryptographicHash::Keccak_224: case QCryptographicHash::Keccak_256: case QCryptographicHash::Keccak_384: case QCryptographicHash::Keccak_512: +#endif case QCryptographicHash::Sha3_224: case QCryptographicHash::Sha3_384: #if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)