+10
−3
Loading
The extensions block of a ServerHello is optional (RFC 5246 7.4.1.3);
a TLS 1.2 server with nothing to echo (e.g. no EMS) omits it, and the
client failed with "ServerHello missing extensions". Also reset
extended_master_secret before parsing, so a reused tls object does not
keep EMS from an earlier handshake the server no longer echoes.
Checked against openssl s_server: ECDHE-ECDSA-AES{128,256}-GCM with and
without EMS, TLS 1.3.
Co-Authored-By:
Claude Opus 5.5 <noreply@anthropic.com>