Kaynağa Gözat

Allow server supported_curves in TLS 1.3 in Go.

Change-Id: I1132103bd6c8b01c567b970694ed6b5e9248befb
Reviewed-on: https://boringssl-review.googlesource.com/8816
Reviewed-by: Nick Harper <nharper@chromium.org>
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 yıl önce
committed by CQ bot account: commit-bot@chromium.org
ebeveyn
işleme
4ee027fd05
1 değiştirilmiş dosya ile 5 ekleme ve 0 silme
  1. +5
    -0
      ssl/test/runner/handshake_messages.go

+ 5
- 0
ssl/test/runner/handshake_messages.go Dosyayı Görüntüle

@@ -1115,6 +1115,11 @@ func (m *serverExtensions) unmarshal(data []byte, version uint16) bool {
return false
}
// Ignore this extension from the server.
case extensionSupportedCurves:
// The server can only send supported_curves in TLS 1.3.
if version < VersionTLS13 || !enableTLS13Handshake {
return false
}
default:
// Unknown extensions are illegal from the server.
return false


Yükleniyor…
İptal
Kaydet