fix: extMasterSecret mismatch with extended_master_secret extension (#307)

Signed-off-by: Gaukas Wang <i@gaukas.wang>
This commit is contained in:
adotkhan 2024-07-19 23:24:24 -04:00 committed by GitHub
parent 4a28d1af44
commit 23de245734
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -219,7 +219,6 @@ func (c *Conn) makeClientHelloForApplyPreset() (*clientHelloMsg, clientKeyShareP
vers: clientHelloVersion,
compressionMethods: []uint8{compressionNone},
random: make([]byte, 32),
extendedMasterSecret: true,
ocspStapling: true,
scts: true,
serverName: hostnameInSNI(config.ServerName),