mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-06-19 19:33:38 +08:00
Fix TLS 1.3 middlebox
This commit is contained in:
@@ -518,7 +518,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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user