From 62c310f750817fc8b751b52718d025ee15f4112c Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Thu, 13 May 2021 20:42:41 +0200 Subject: [PATCH] fix gcc 11.1 warning on mbedtls --- common/mbedtls/cmac.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/mbedtls/cmac.h b/common/mbedtls/cmac.h index ba2dd50b6..3775e7269 100644 --- a/common/mbedtls/cmac.h +++ b/common/mbedtls/cmac.h @@ -187,7 +187,7 @@ int mbedtls_cipher_cmac(const mbedtls_cipher_info_t *cipher_info, */ int mbedtls_aes_cmac_prf_128(const unsigned char *key, size_t key_len, const unsigned char *input, size_t in_len, - unsigned char output[16]); + unsigned char *output); #endif /* MBEDTLS_AES_C */ #if defined(MBEDTLS_SELF_TEST) && ( defined(MBEDTLS_AES_C) || defined(MBEDTLS_DES_C) )