From 63a4397b4e42bcc07052a3c689e4ca918cc49e05 Mon Sep 17 00:00:00 2001 From: lijunwei Date: Thu, 11 Dec 2025 13:59:17 +0800 Subject: [PATCH] crypto/hash-gcrypt: Correct undeclared parameter when compile source code with enable-gcrypt, It occurs a error in function 'qcrypto_gcrypt_hash_bytesv' cause compile failed Singed-off-by: lijunwei --- crypto/hash-gcrypt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/crypto/hash-gcrypt.c b/crypto/hash-gcrypt.c index 8b305bd29a..8b093c7f51 100644 --- a/crypto/hash-gcrypt.c +++ b/crypto/hash-gcrypt.c @@ -56,6 +56,7 @@ qcrypto_gcrypt_hash_bytesv(QCryptoHashAlgorithm alg, size_t *resultlen, Error **errp) { + int i; gcry_error_t ret; gcry_md_hd_t md; unsigned char *digest; -- Gitee