wolfssl icon indicating copy to clipboard operation
wolfssl copied to clipboard

TLS: wrong TLS version in alert after ClientHello

Open SparkiDev opened this issue 1 year ago • 0 comments

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

SparkiDev avatar Jun 07 '24 00:06 SparkiDev