diff options
Diffstat (limited to 'src/crypto/internal/boring/boring.go')
-rw-r--r-- | src/crypto/internal/boring/boring.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/crypto/internal/boring/boring.go b/src/crypto/internal/boring/boring.go index 98aa851de7..9ccad7eb5d 100644 --- a/src/crypto/internal/boring/boring.go +++ b/src/crypto/internal/boring/boring.go @@ -11,7 +11,10 @@ package boring // #include "goboringcrypto.h" import "C" -import "math/big" +import ( + "crypto/internal/boring/sig" + "math/big" +) const available = true @@ -20,6 +23,7 @@ func init() { if C._goboringcrypto_FIPS_mode() != 1 { panic("boringcrypto: not in FIPS mode") } + sig.BoringCrypto() } // Unreachable marks code that should be unreachable |