Files
mbedtls/tests
Gilles Peskine c89f9ceb41 Don't define pk_sign_verify in configurations where it's unused
In some configurations (e.g. ECDH but no ECDSA or RSA), the PK module is
useful but cannot perform any signatures. Then modern GCC complains:

```
../source/tests/suites/test_suite_pk.function: In function ‘test_pk_sign_verify’:
../source/tests/suites/test_suite_pk.function:1136:12: error: array subscript 0 is outside array bounds of ‘unsigned char[0]’ [-Werror=array-bounds]
../source/tests/suites/test_suite_pk.function:1094:19: note: while referencing sig’
…
```

This fixes test-ref-configs.pl with a modern GCC (specifically with
config-thread.h).

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2024-02-12 14:33:41 +01:00
..
2023-11-03 12:54:54 +00:00
2023-11-06 10:06:03 +08:00
2023-11-03 12:54:54 +00:00
2023-11-03 12:54:54 +00:00
2023-11-03 12:54:54 +00:00
2023-05-12 13:57:39 +02:00
2023-03-16 11:10:17 +08:00
2023-11-03 12:54:54 +00:00
2023-11-03 12:54:54 +00:00
2023-11-03 12:54:54 +00:00
2023-11-03 12:54:54 +00:00
2023-03-16 11:10:17 +08:00
2023-11-03 12:54:54 +00:00