mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-04-02 18:46:06 +02:00
Use API function to set sig_alg config in test
Signed-off-by: Janos Follath <janos.follath@arm.com>
This commit is contained in:
@@ -5802,7 +5802,7 @@ void send_invalid_sig_alg(int sig, int hash, int expected_ret)
|
||||
}
|
||||
TEST_ASSERT(j < client_sig_algs_len);
|
||||
client_sig_algs[j] = MBEDTLS_TLS1_3_SIG_NONE;
|
||||
client.conf.sig_algs = client_sig_algs;
|
||||
mbedtls_ssl_conf_sig_algs(&client.conf, client_sig_algs);
|
||||
|
||||
ret = mbedtls_test_ssl_endpoint_init_ssl(&client, &options);
|
||||
TEST_EQUAL(ret, 0);
|
||||
|
||||
Reference in New Issue
Block a user