]> git.proxmox.com Git - mirror_qemu.git/blobdiff - crypto/pbkdf-nettle.c
Merge remote-tracking branch 'remotes/ehabkost/tags/machine-next-pull-request' into...
[mirror_qemu.git] / crypto / pbkdf-nettle.c
index 6fb26716562765ab7e731b4ed6257eca1a504e46..212b3e816b06a1b27b8a7aa92caf4b0a3a7e95fb 100644 (file)
@@ -110,7 +110,7 @@ int qcrypto_pbkdf2(QCryptoHashAlgorithm hash,
     default:
         error_setg_errno(errp, ENOSYS,
                          "PBKDF does not support hash algorithm %s",
-                         QCryptoHashAlgorithm_lookup[hash]);
+                         QCryptoHashAlgorithm_str(hash));
         return -1;
     }
     return 0;