Welcome to mirror list, hosted at ThFree Co, Russian Federation.

boring.go « boring « internal - gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0a59ec4af24faa81647d9d5e09611723e59a1ebd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//go:build boringcrypto
// +build boringcrypto

package boring

import (
	"crypto/boring"

	"gitlab.com/gitlab-org/labkit/log"
)

func CheckBoring() {
	if boring.Enabled() {
		log.Info("FIPS mode is enabled. Using BoringSSL.")
		return
	}
	log.Info("GitLab Pages was compiled with FIPS mode but BoringSSL is not enabled.")
}