commit | 2e8f6aabc22f42f045859c8027054acdab87c5eb | [log] [tgz] |
---|---|---|
author | Dave Rodgman <dave.rodgman@arm.com> | Sat Jun 24 17:32:18 2023 +0100 |
committer | Dave Rodgman <dave.rodgman@arm.com> | Sat Jun 24 17:32:18 2023 +0100 |
tree | 3fd4d39233dcaee10fd5c9c1221c8d979a1a5ff3 | |
parent | ef2f3697ec6607ec16d2b9e843930035077c18b8 [diff] |
Fix direct use of cipher_info->type Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
diff --git a/library/cmac.c b/library/cmac.c index 2e9c1a1..1963ba0 100644 --- a/library/cmac.c +++ b/library/cmac.c
@@ -186,7 +186,7 @@ return retval; } - type = ctx->cipher_info->type; + type = mbedtls_cipher_info_get_type(ctx->cipher_info); switch (type) { case MBEDTLS_CIPHER_AES_128_ECB: