mirror of
https://github.com/slackhq/nebula.git
synced 2024-09-20 23:06:15 +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.
9 lines
123 B
Go
9 lines
123 B
Go
//go:build boringcrypto
|
|
// +build boringcrypto
|
|
|
|
package nebula
|
|
|
|
import "crypto/boring"
|
|
|
|
var boringEnabled = boring.Enabled
|