mirror of
https://github.com/golang/go
synced 2024-11-25 13:38:00 -07:00
crypto/tls: fix typo in quicError
Change-Id: I2c07592c3b896bc86e349de7c032929b9979349c
GitHub-Last-Rev: 0fe8b90e09
GitHub-Pull-Request: golang/go#68757
Reviewed-on: https://go-review.googlesource.com/c/go/+/603517
Reviewed-by: Jorropo <jorropo.pgm@gmail.com>
Auto-Submit: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
This commit is contained in:
parent
3c170ac018
commit
d3c82937e9
@ -206,7 +206,7 @@ func (q *QUICConn) Start(ctx context.Context) error {
|
|||||||
}
|
}
|
||||||
q.conn.quic.started = true
|
q.conn.quic.started = true
|
||||||
if q.conn.config.MinVersion < VersionTLS13 {
|
if q.conn.config.MinVersion < VersionTLS13 {
|
||||||
return quicError(errors.New("tls: Config MinVersion must be at least TLS 1.13"))
|
return quicError(errors.New("tls: Config MinVersion must be at least TLS 1.3"))
|
||||||
}
|
}
|
||||||
go q.conn.HandshakeContext(ctx)
|
go q.conn.HandshakeContext(ctx)
|
||||||
if _, ok := <-q.conn.quic.blockedc; !ok {
|
if _, ok := <-q.conn.quic.blockedc; !ok {
|
||||||
|
Loading…
Reference in New Issue
Block a user