diff --git a/br/cmd/br/fips.go b/br/cmd/br/fips.go index 6d5e181a04022..228261f45998f 100644 --- a/br/cmd/br/fips.go +++ b/br/cmd/br/fips.go @@ -17,12 +17,4 @@ package main -import ( - _ "crypto/tls/fipsonly" - - "github.com/pingcap/tidb/br/pkg/version/build" -) - -func init() { - build.ReleaseVersion += "-fips" -} +import _ "crypto/tls/fipsonly" diff --git a/br/cmd/tidb-lightning-ctl/fips.go b/br/cmd/tidb-lightning-ctl/fips.go index 6d5e181a04022..228261f45998f 100644 --- a/br/cmd/tidb-lightning-ctl/fips.go +++ b/br/cmd/tidb-lightning-ctl/fips.go @@ -17,12 +17,4 @@ package main -import ( - _ "crypto/tls/fipsonly" - - "github.com/pingcap/tidb/br/pkg/version/build" -) - -func init() { - build.ReleaseVersion += "-fips" -} +import _ "crypto/tls/fipsonly" diff --git a/br/cmd/tidb-lightning/fips.go b/br/cmd/tidb-lightning/fips.go index 6d5e181a04022..228261f45998f 100644 --- a/br/cmd/tidb-lightning/fips.go +++ b/br/cmd/tidb-lightning/fips.go @@ -17,12 +17,4 @@ package main -import ( - _ "crypto/tls/fipsonly" - - "github.com/pingcap/tidb/br/pkg/version/build" -) - -func init() { - build.ReleaseVersion += "-fips" -} +import _ "crypto/tls/fipsonly" diff --git a/cmd/tidb-server/fips.go b/cmd/tidb-server/fips.go index 5b18f7bee023e..228261f45998f 100644 --- a/cmd/tidb-server/fips.go +++ b/cmd/tidb-server/fips.go @@ -18,9 +18,3 @@ package main import _ "crypto/tls/fipsonly" - -import "github.com/pingcap/tidb/pkg/parser/mysql" - -func init() { - mysql.TiDBReleaseVersion += "-fips" -}