mirror of https://github.com/golang/go.git
crypto/tls: fix typo in quicError
This commit is contained in:
parent
e705a2d16e
commit
0fe8b90e09
|
|
@ -206,7 +206,7 @@ func (q *QUICConn) Start(ctx context.Context) error {
|
|||
}
|
||||
q.conn.quic.started = true
|
||||
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)
|
||||
if _, ok := <-q.conn.quic.blockedc; !ok {
|
||||
|
|
|
|||
Loading…
Reference in New Issue