Skip to content

Commit

Permalink
Add "crypto/tls/fipsonly"
Browse files Browse the repository at this point in the history
  • Loading branch information
jayesh-srivastava committed Feb 13, 2024
1 parent ccb12ba commit 1507eb4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/flags/tls_boring.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

package flags

import _ "crypto/tls/fipsonly"
import "crypto/tls"

func InsecureSkipVerify(insecureSkipVerify bool) bool {
return false
}

func GetTlsMaxVersion() uint16 {
return tls.VersionTLS12
return tls.VersionTLS13
}
1 change: 1 addition & 0 deletions test/helpers/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ limitations under the License.
package helpers

import (
_ "crypto/tls/fipsonly"
"net"
"os"
"path"
Expand Down

0 comments on commit 1507eb4

Please sign in to comment.