Skip to content

Commit 6de9855

Browse files
force peer verify (on client) in ech cert test
1 parent 325d898 commit 6de9855

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/api.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15054,6 +15054,7 @@ static int test_wolfSSL_Tls13_ECH_rejected_cert_valid_ex(const char* publicName,
1505415054
/* Do not require client cert on server so it does not send
1505515055
* CertificateRequest */
1505615056
wolfSSL_set_verify(test_ctx.s_ssl, WOLFSSL_VERIFY_NONE, NULL);
15057+
wolfSSL_set_verify(test_ctx.c_ssl, WOLFSSL_VERIFY_PEER, NULL);
1505715058

1505815059
/* Disable ECH on the server side so ECH is rejected */
1505915060
wolfSSL_SetEchEnable(test_ctx.s_ssl, 0);

0 commit comments

Comments
 (0)