diff options
Diffstat (limited to 'internal')
-rw-r--r-- | internal/boring/boring.go | 10 | ||||
-rw-r--r-- | internal/boring/notboring.go | 7 |
2 files changed, 17 insertions, 0 deletions
diff --git a/internal/boring/boring.go b/internal/boring/boring.go new file mode 100644 index 00000000..6e125210 --- /dev/null +++ b/internal/boring/boring.go @@ -0,0 +1,10 @@ +//go:build boringcrypto +// +build boringcrypto + +package boring + +import "gitlab.com/gitlab-org/labkit/log" + +func CheckBoring() { + log.Info("FIPS mode is enabled. Using BoringSSL.") +} diff --git a/internal/boring/notboring.go b/internal/boring/notboring.go new file mode 100644 index 00000000..6dbf3c39 --- /dev/null +++ b/internal/boring/notboring.go @@ -0,0 +1,7 @@ +//go:build !boringcrypto +// +build !boringcrypto + +package boring + +func CheckBoring() { +} |