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
1 changed files with 1 additions and 1 deletions

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 {