Skip to content

Commit 13faa2d

Browse files
Don't declare a parameter as const
An earlier commit fixed this for psa_hash_compare. psa_mac_verify had the same flaw.
1 parent 88e0846 commit 13faa2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/psa/crypto.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1300,7 +1300,7 @@ psa_status_t psa_mac_verify(psa_key_handle_t handle,
13001300
const uint8_t *input,
13011301
size_t input_length,
13021302
const uint8_t *mac,
1303-
const size_t mac_length);
1303+
size_t mac_length);
13041304

13051305
/** The type of the state data structure for multipart MAC operations.
13061306
*

0 commit comments

Comments
 (0)