Sergei Trofimovich 990a88cd53 tests: fix calloc() argument list (gcc-14 fix)
`gcc-14` added a new `-Wcalloc-transposed-args` warning recently. It
detected minor infelicity in `calloc()` API usage in `mbedtls`:

    In file included from /build/mbedtls/tests/include/test/ssl_helpers.h:19,
                     from /build/mbedtls/tests/src/test_helpers/ssl_helpers.c:11:
    /build/mbedtls/tests/src/test_helpers/ssl_helpers.c: In function 'mbedtls_test_init_handshake_options':
    /build/mbedtls/tests/include/test/macros.h:128:46:
      error: 'calloc' sizes specified with 'sizeof' in the earlier argument
        and not in the later argument [-Werror=calloc-transposed-args]
      128 |             (pointer) = mbedtls_calloc(sizeof(*(pointer)),  \
          |                                              ^

Signed-off-by: Sergei Trofimovich <slyich@gmail.com>
2024-09-02 22:09:13 +02:00
..
drivers Fix failures in psa_cryto_driver_wrappers suite 2024-04-02 12:09:32 +02:00
arguments.h Update headers 2023-11-03 12:04:52 +00:00
asn1_helpers.h Update headers 2023-11-03 12:04:52 +00:00
constant_flow.h Update headers 2023-11-03 12:04:52 +00:00
fake_external_rng_for_test.h Update headers 2023-11-03 12:04:52 +00:00
helpers.h Detect enabled GCC/Clang sanitizers 2023-11-22 18:00:31 +01:00
macros.h tests: fix calloc() argument list (gcc-14 fix) 2024-09-02 22:09:13 +02:00
memory.h Remove _Thread_local variable for 2.28 2024-01-23 15:35:20 +00:00
psa_crypto_helpers.h Remove unnecessary dependencies from psa_crypto_helpers.h 2024-02-02 10:50:51 +00:00
psa_exercise_key.h Update headers 2023-11-03 12:04:52 +00:00
psa_helpers.h Update headers 2023-11-03 12:04:52 +00:00
psa_memory_poisoning_wrappers.h Remove the manually written poisoning wrapper 2024-01-04 17:11:54 +01:00
psa_test_wrappers.h Disable PSA wrappers psa_collect_statuses builds 2024-01-04 21:07:35 +01:00
random.h Update headers 2023-11-03 12:04:52 +00:00
ssl_helpers.h Update headers 2023-11-03 12:04:52 +00:00