1
0
mirror of https://github.com/golang/go synced 2024-11-22 05:24:39 -07:00

crypto/tls: fix typo in quicError

This commit is contained in:
Jaeho Nam 2024-08-07 14:46:00 +09:00
parent e705a2d16e
commit 0fe8b90e09

View File

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