mbedtls/tests/include/test
Sergei Trofimovich da2a33de0f 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-01-25 21:29:56 +00:00
..
drivers test_driver_key_management: keep mbedtls_test_opaque_wrap_key() private 2024-01-18 08:44:13 +01:00
arguments.h update headers 2023-11-02 19:47:20 +00:00
asn1_helpers.h update headers 2023-11-02 19:47:20 +00:00
bignum_helpers.h update headers 2023-11-02 19:47:20 +00:00
certs.h update headers 2023-11-02 19:47:20 +00:00
constant_flow.h update headers 2023-11-02 19:47:20 +00:00
fake_external_rng_for_test.h update headers 2023-11-02 19:47:20 +00:00
helpers.h Merge pull request #8534 from paul-elliott-arm/fix_mutex_abstraction 2023-11-29 13:26:23 +00:00
macros.h tests: fix calloc() argument list (gcc-14 fix) 2024-01-25 21:29:56 +00:00
psa_crypto_helpers.h tests: add PSA_INIT/PSA_DONE to CCM and GCM test suites 2023-12-14 18:08:14 +01:00
psa_exercise_key.h psa_exercise_key: add missing #else for KNOWN_SUPPORTED_BLOCK_CIPHER 2023-11-15 09:18:14 +01:00
psa_helpers.h update headers 2023-11-02 19:47:20 +00:00
random.h update headers 2023-11-02 19:47:20 +00:00
ssl_helpers.h ssl: use MBEDTLS_SSL_HAVE_* in tests 2023-11-08 14:09:16 +08:00