wolfssl
wolfssl copied to clipboard
TLS: wrong TLS version in alert after ClientHello
Description
Ignore protocol version being less than expected when received directly after ClientHello. Protocol version negotiation hasn't taken place and a lower version can be sent to cover minimum supported protocol version.
Fixes zd#18099
Testing
./tests/unit.test -test_tls_alert_no_server_hello
Checklist
- [x] added tests
- [ ] updated/added doxygen
- [ ] updated appropriate READMEs
- [ ] Updated manual and documentation