Skip to content

Commit

Permalink
remove redundant condition in SupportsTLS1PRF
Browse files Browse the repository at this point in the history
  • Loading branch information
qmuntal committed Sep 23, 2024
1 parent 592b29c commit 321654d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tls1prf.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
func SupportsTLS1PRF() bool {
switch vMajor {
case 1:
return vMajor > 1 || (vMajor >= 1 && vMinor >= 1)
return vMinor >= 1
case 3:
_, err := fetchTLS1PRF()
return err == nil
Expand Down

0 comments on commit 321654d

Please sign in to comment.