From df525a4363f6f30ce7d917da62fd93a7e4a3750e Mon Sep 17 00:00:00 2001 From: Tom Dewey Date: Fri, 9 Aug 2024 16:08:16 +0100 Subject: [PATCH] mac: ACH parameter rename --- src/mac/acceleratedcryptographichash_commoncrypto.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mac/acceleratedcryptographichash_commoncrypto.cpp b/src/mac/acceleratedcryptographichash_commoncrypto.cpp index 9229699..3875661 100644 --- a/src/mac/acceleratedcryptographichash_commoncrypto.cpp +++ b/src/mac/acceleratedcryptographichash_commoncrypto.cpp @@ -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);