Skip to content

Commit

Permalink
corrected the MinVersion and MaxVersion comments
Browse files Browse the repository at this point in the history
  • Loading branch information
johnabass committed Jul 18, 2024
1 parent cf50977 commit c3273fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arrangetls/tls.go
Original file line number Diff line number Diff line change
Expand Up @@ -295,10 +295,10 @@ type Config struct {
// NextProtos is the list of supported application protocols. Defaults to "http/1.1" if unset.
NextProtos []string

// MinVersion is the minimum required TLS version. If unset, the internal crypto/tls default is used.
// MinVersion is the minimum required TLS version. If unset, defaults to TLS 1.3.
MinVersion uint16

// MaxVersion is the maximum required TLS version. If unset, the internal crypto/tls default is used.
// MaxVersion is the maximum required TLS version. If unset, defaults to TLS 1.3.
MaxVersion uint16

// PeerVerify specifies the certificate validation done on client certificates.
Expand Down

0 comments on commit c3273fb

Please sign in to comment.