Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix NTLS failed when set min and max version for TLS #526

Merged
merged 1 commit into from
Dec 4, 2023
Merged

Fix NTLS failed when set min and max version for TLS #526

merged 1 commit into from
Dec 4, 2023

Conversation

dongbeiouba
Copy link
Member

Fixed #513

Set min and max TLS version should not affect NTLS. NTLS only has v1.1, so it's reasonable for API set_min_proto_version/set_max_proto_version to take effect for TLS only.

Delete useless code about renegotion and SCSV in NTLS.

Checklist
  • https://yuque.com/tsdoc 增加或更新了必要的文档
  • 增加或更新了必要的测试用例
  • 对于重要修改,更新了CHANGES文件
  • 当前修改存在对已有API参数或返回值的改变
  • 当前修改存在对旧版本功能的兼容性改变(如网络协议或密码算法)

Fixed #513

Set min and max TLS version should not affect NTLS. NTLS only has v1.1,
so it's reasonable for API set_min_proto_version/set_max_proto_version
to take effect for TLS only.

Delete useless code about renegotion and SCSV in NTLS.
@dongbeiouba dongbeiouba added bug Something isn't working master labels Nov 28, 2023
@dongbeiouba dongbeiouba requested review from InfoHunter, wa5i, zzl360 and a team November 28, 2023 08:00
@InfoHunter InfoHunter merged commit 89c5db1 into Tongsuo-Project:master Dec 4, 2023
78 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working master
Projects
None yet
Development

Successfully merging this pull request may close these issues.

如果设置了 TLS min/max protocol version, 进行 NTLS 握手会报 unsupported protocol 错误
2 participants