Fix TLS 1.3 middlebox

This commit is contained in:
Zhi Guan
2026-06-12 17:03:49 +08:00
parent db8d10356b
commit 2c6ea95cec
6 changed files with 94 additions and 15 deletions

View File

@@ -513,7 +513,7 @@ bad:
// ChangeCipherSpec
if (tls13_change_cipher_spec) {
if (tls13_ctx_enable_change_cipher_spec(&ctx, 1) != 1) {
if (tls13_ctx_set_change_cipher_spec_compat(&ctx, 1) != 1) {
error_print();
goto end;
}