1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Support larger integer test arguments: C part

Change the type of signed integer arguments from int32_t to intmax_t.
This allows the C code to work with test function arguments with a range
larger than int32_t. A subsequent commit will change the .datax generator
to support larger types.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine
2022-12-04 15:32:54 +01:00
parent 4ea4ad082b
commit 872948cc72
5 changed files with 12 additions and 14 deletions

View File

@ -32,7 +32,7 @@
typedef union {
size_t len;
int32_t s32;
intmax_t sint;
} mbedtls_test_argument_t;
#endif /* TEST_ARGUMENTS_H */