]> git.proxmox.com Git - mirror_qemu.git/blobdiff - crypto/hmac-gcrypt.c
exec.c: correct the maximum skip value during compact
[mirror_qemu.git] / crypto / hmac-gcrypt.c
index 76ca61ba24c77270c55cbffad363c11289a295b1..0c6f9797114c26f56301da6d9a97de98014046bd 100644 (file)
@@ -52,7 +52,7 @@ void *qcrypto_hmac_ctx_new(QCryptoHashAlgorithm alg,
 
     if (!qcrypto_hmac_supports(alg)) {
         error_setg(errp, "Unsupported hmac algorithm %s",
-                   QCryptoHashAlgorithm_lookup[alg]);
+                   QCryptoHashAlgorithm_str(alg));
         return NULL;
     }