From 13faa2d920b6dd8f1f0665f5ef30a838351d2557 Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Thu, 30 Jan 2020 16:32:21 +0100 Subject: [PATCH] Don't declare a parameter as const An earlier commit fixed this for psa_hash_compare. psa_mac_verify had the same flaw. --- include/psa/crypto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/psa/crypto.h b/include/psa/crypto.h index 3522818541..07be2b9652 100644 --- a/include/psa/crypto.h +++ b/include/psa/crypto.h @@ -1300,7 +1300,7 @@ psa_status_t psa_mac_verify(psa_key_handle_t handle, const uint8_t *input, size_t input_length, const uint8_t *mac, - const size_t mac_length); + size_t mac_length); /** The type of the state data structure for multipart MAC operations. *