diff options
author | Markus Armbruster <armbru@redhat.com> | 2017-08-24 10:46:08 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-09-04 13:09:13 +0200 |
commit | 977c736f80c232de7c6476d793ed575359c049d8 (patch) | |
tree | 986bf327e75929660aa367008574343e59818ee4 /crypto/hmac-nettle.c | |
parent | 5b5f825d44306b18509cd10ba9ac6983e90d6e0f (diff) | |
download | qemu-977c736f80c232de7c6476d793ed575359c049d8.zip qemu-977c736f80c232de7c6476d793ed575359c049d8.tar.gz qemu-977c736f80c232de7c6476d793ed575359c049d8.tar.bz2 |
qapi: Mechanically convert FOO_lookup[...] to FOO_str(...)
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <1503564371-26090-14-git-send-email-armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'crypto/hmac-nettle.c')
-rw-r--r-- | crypto/hmac-nettle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/hmac-nettle.c b/crypto/hmac-nettle.c index 1d5a915..ec2d61b 100644 --- a/crypto/hmac-nettle.c +++ b/crypto/hmac-nettle.c @@ -106,7 +106,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; } |