test: fix max value in test_mx32
Signed-off-by: Valerio Setti <valerio.setti@nordicsemi.no>
This commit is contained in:
parent
e50831c639
commit
8bb93bb44c
1 changed files with 1 additions and 1 deletions
|
@ -1131,7 +1131,7 @@ exit:
|
|||
void pk_rsa_overflow()
|
||||
{
|
||||
mbedtls_pk_context pk;
|
||||
size_t hash_len = SIZE_MAX, sig_len = SIZE_MAX;
|
||||
size_t hash_len = UINT_MAX + 1, sig_len = UINT_MAX + 1;
|
||||
unsigned char hash[50], sig[100];
|
||||
|
||||
mbedtls_pk_init(&pk);
|
||||
|
|
Loading…
Reference in a new issue