summaryrefslogtreecommitdiffstats
path: root/src/concurrent/qtconcurrentthreadengine.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2023-02-25 16:49:14 +0100
committerMarc Mutz <marc.mutz@qt.io>2023-02-26 07:51:13 +0100
commit54a4d4bf7619c4c6acf9fb02c2297fefff94d6e9 (patch)
treece323f91b60c45025c98f3ac8d20974a999f9feb /src/concurrent/qtconcurrentthreadengine.cpp
parentec2c27d59635e123a3c159fd30d90ec30a6d63cb (diff)
QCryptographicHash: implement non-OpenSSL3 part of supportsAlgorithm()
Unconditionally returning true is incorrect, not only just since NumAlgorithms was added in 0411d98192ede84b115618ece876579fd79252f8. The values may have gaps, we might be compiling with SHA1_ONLY, and, on a language-lawyer level, enums can legally contain values other than those explicitly enumerated, so give the right answer in all of these cases. Pick-to: 6.5 Change-Id: I705d4f759b2572b8b3d1cee18b7939939eedbbac Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/concurrent/qtconcurrentthreadengine.cpp')
0 files changed, 0 insertions, 0 deletions