mirror of
https://github.com/ARMmbed/mbedtls.git
synced 2025-05-10 17:01:41 +08:00
Tighten dependency declarations
These are not optimal. For example, the tests should in principle be able to run in builds without ECDSA, by using RSA certs instead. Ideally PSK should work too. However, getting optimal dependencies would be a lot of work that's largely orthogonal to the purpose of this PR, so we'll settle for good enough. Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
parent
f267020565
commit
05ff37fbf2
@ -3106,7 +3106,7 @@ exit:
|
||||
|
||||
/* This test case doesn't actually depend on certificates,
|
||||
* but our helper code for mbedtls_test_ssl_endpoint does. */
|
||||
/* BEGIN_CASE depends_on:MBEDTLS_SSL_HANDSHAKE_WITH_CERT_ENABLED */
|
||||
/* BEGIN_CASE depends_on:MBEDTLS_SSL_HANDSHAKE_WITH_CERT_ENABLED:PSA_WANT_ALG_SHA_256:PSA_WANT_ECC_SECP_R1_256:PSA_WANT_ECC_SECP_R1_384:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT:PSA_WANT_ALG_ECDSA_ANY */
|
||||
void recombine_server_first_flight(int version,
|
||||
int instruction, int param,
|
||||
char *client_log, char *server_log,
|
||||
@ -3141,6 +3141,10 @@ void recombine_server_first_flight(int version,
|
||||
mbedtls_debug_set_threshold(3);
|
||||
#endif
|
||||
|
||||
// Does't really matter but we want to know to declare dependencies.
|
||||
client_options.pk_alg = MBEDTLS_PK_ECDSA;
|
||||
server_options.pk_alg = MBEDTLS_PK_ECDSA;
|
||||
|
||||
client_options.client_min_version = version;
|
||||
client_options.client_max_version = version;
|
||||
#if defined(MBEDTLS_DEBUG_C)
|
||||
|
Loading…
x
Reference in New Issue
Block a user