summaryrefslogtreecommitdiffstats
path: root/src/gui/platform/unix/qunixnativeinterface.cpp
diff options
context:
space:
mode:
authorJan Grulich <jgrulich@redhat.com>2023-01-11 12:06:16 +0100
committerJan Grulich <jgrulich@redhat.com>2023-01-12 16:33:56 +0100
commit698c7696ebff4868c695bb6d7ca66ed17b5c2f3b (patch)
tree503ce1b10138410bfd3b31415eedb1b52dd06ee4 /src/gui/platform/unix/qunixnativeinterface.cpp
parent94e474b48e9d3c6434339afe166c2329f8c36ea2 (diff)
QCryptographicHash[OpenSSL]: allow to get intermediary result
OpenSSL doesn't allow to add additional data when the hash has been finalized. To fix that, we just make a copy of the current context and call EVP_DigestFinal_ex() on the copy so we can still later add additional data. Pick-to: 6.5 Change-Id: If76d4ec56f8846d6ef55ed7ec7cbab440d43edd0 Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'src/gui/platform/unix/qunixnativeinterface.cpp')
0 files changed, 0 insertions, 0 deletions