add boringcrypto Makefile targets (#856)

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.
This commit is contained in:
Wade Simmons
2023-05-04 15:42:45 -04:00
committed by GitHub
parent a0d3b93ae5
commit 0b67b19771
5 changed files with 28 additions and 2 deletions

8
boring.go Normal file
View File

@@ -0,0 +1,8 @@
//go:build boringcrypto
// +build boringcrypto
package nebula
import "crypto/boring"
var boringEnabled = boring.Enabled