Skip to content

Commit 5977a59

Browse files
committed
Fix dependency issues
Declare the same dependencies as for the previous TLS 1.3 tests, except for part that varies with the cipher suite (ie AES-GCM). Signed-off-by: Manuel Pégourié-Gonnard <[email protected]>
1 parent a0fb465 commit 5977a59

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/suites/test_suite_ssl.function

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5113,7 +5113,7 @@ exit:
51135113
}
51145114
/* END_CASE */
51155115

5116-
/* BEGIN_CASE depends_on:MBEDTLS_SSL_PROTO_TLS1_3:MBEDTLS_DEBUG_C:MBEDTLS_SSL_HANDSHAKE_WITH_CERT_ENABLED */
5116+
/* BEGIN_CASE depends_on:MBEDTLS_SSL_PROTO_TLS1_3:MBEDTLS_DEBUG_C:MBEDTLS_SSL_HANDSHAKE_WITH_CERT_ENABLED:MBEDTLS_SSL_TLS1_3_KEY_EXCHANGE_MODE_EPHEMERAL_ENABLED:MBEDTLS_MD_CAN_SHA256MBEDTLS_ECP_HAVE_SECP256R1:MBEDTLS_ECP_HAVE_SECP384R1:MBEDTLS_PK_CAN_ECDSA_SIGN:MBEDTLS_PK_CAN_ECDSA_VERIFY */
51175117
void send_large_fragmented_hello(int hs_len_int, int first_frag_content_len_int,
51185118
char *log_pattern, int expected_ret)
51195119
{
@@ -5149,6 +5149,9 @@ void send_large_fragmented_hello(int hs_len_int, int first_frag_content_len_int,
51495149
options.srv_log_fun = mbedtls_test_ssl_log_analyzer;
51505150
mbedtls_debug_set_threshold(5);
51515151

5152+
// Does't really matter but we want to know to declare dependencies.
5153+
options.pk_alg = MBEDTLS_PK_ECDSA;
5154+
51525155
ret = mbedtls_test_ssl_endpoint_init(&server, MBEDTLS_SSL_IS_SERVER,
51535156
&options, NULL, NULL, NULL);
51545157
TEST_EQUAL(ret, 0);

0 commit comments

Comments
 (0)