diff --git a/13.go b/13.go index b71f0fe..d1897e8 100644 --- a/13.go +++ b/13.go @@ -953,6 +953,7 @@ func (hs *clientHandshakeState) doTLS13Handshake() error { hash := hashForSuite(hs.suite) hashSize := hash.Size() serverHello := hs.serverHello + c.scts = serverHello.scts // middlebox compatibility mode, send CCS before second flight. if _, err := c.writeRecord(recordTypeChangeCipherSpec, []byte{1}); err != nil { diff --git a/handshake_server_test.go b/handshake_server_test.go index 3882f87..8feaa98 100644 --- a/handshake_server_test.go +++ b/handshake_server_test.go @@ -394,8 +394,6 @@ func TestSCTHandshake(t *testing.T) { PrivateKey: testRSAPrivateKey, SignedCertificateTimestamps: expected, }}, - // See GH#76 - MaxVersion: VersionTLS12, } clientConfig := &Config{ InsecureSkipVerify: true,