mirror of
https://github.com/slackhq/nebula.git
synced 2024-11-10 17:24:37 +08:00
0b67b19771
This adds a few build targets to compile with `GOEXPERIMENT=boringcrypto`: - `bin-boringcrypto` - `release-boringcrypto` It also adds a field to the intial start up log indicating if boringcrypto is enabled in the binary.
8 lines
123 B
Go
8 lines
123 B
Go
//go:build boringcrypto
|
|
// +build boringcrypto
|
|
|
|
package nebula
|
|
|
|
import "crypto/boring"
|
|
|
|
var boringEnabled = boring.Enabled
|