Sfoglia il codice sorgente

Reject 1.3 ServerHellos with the RI extension in Go.

Keep our C implementation honest.

Change-Id: I9e9e686b7f730b61218362450971afdd82b0b640
Reviewed-on: https://boringssl-review.googlesource.com/8782
Reviewed-by: Steven Valdez <svaldez@google.com>
Reviewed-by: David Benjamin <davidben@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
kris/onging/CECPQ3_patch15
David Benjamin 8 anni fa
committed by CQ bot account: commit-bot@chromium.org
parent
commit
cea0ab4361
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      ssl/test/runner/handshake_client.go

+ 2
- 0
ssl/test/runner/handshake_client.go Vedi File

@@ -943,6 +943,8 @@ func (hs *clientHandshakeState) processServerExtensions(serverExtensions *server
return fmt.Errorf("tls: renegotiation mismatch")
}
}
} else if serverExtensions.secureRenegotiation != nil {
return errors.New("tls: renegotiation info sent in TLS 1.3")
}

if expected := c.config.Bugs.ExpectedCustomExtension; expected != nil {


Caricamento…
Annulla
Salva