]> git.proxmox.com Git - mirror_qemu.git/blobdiff - crypto/cipher-afalg.c
hw/s390/css: avoid taking address members in packed structs
[mirror_qemu.git] / crypto / cipher-afalg.c
index 01343b2b7c430ec8963ecfdda6758445c8083521..cd7228469014ec3d413926c4d7ae6e467d769351 100644 (file)
@@ -52,7 +52,7 @@ qcrypto_afalg_cipher_format_name(QCryptoCipherAlgorithm alg,
         return NULL;
     }
 
-    mode_name = QCryptoCipherMode_lookup[mode];
+    mode_name = QCryptoCipherMode_str(mode);
     name = g_strdup_printf("%s(%s)", mode_name, alg_name);
 
     return name;