mac: ACH parameter rename

This commit is contained in:
Tom Dewey 2024-08-09 16:08:16 +01:00 committed by Tom Dewey
parent 4abfe88c6e
commit df525a4363

View file

@ -11,7 +11,7 @@
struct AcceleratedCryptographicHash::impl {
explicit impl(QCryptographicHash::Algorithm algo) {
if (method != QCryptographicHash::Sha256)
if (algo != QCryptographicHash::Sha256)
throw std::runtime_error("Only sha256 implemented");
CC_SHA256_Init(&_sha256);