Преглед на файлове

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 години
committed by CQ bot account: commit-bot@chromium.org
родител
ревизия
4ee027fd05
променени са 1 файла, в които са добавени 5 реда и са изтрити 0 реда
  1. +5
    -0
      ssl/test/runner/handshake_messages.go

+ 5
- 0
ssl/test/runner/handshake_messages.go Целия файл

@@ -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


Зареждане…
Отказ
Запис