diff options
Diffstat (limited to 'src/crypto/internal/boring/notboring.go')
-rw-r--r-- | src/crypto/internal/boring/notboring.go | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/crypto/internal/boring/notboring.go b/src/crypto/internal/boring/notboring.go new file mode 100644 index 0000000000..42c10c667b --- /dev/null +++ b/src/crypto/internal/boring/notboring.go @@ -0,0 +1,17 @@ +// Copyright 2017 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// +build !linux !amd64 cmd_go_bootstrap + +package boring + +const available = false + +// Unreachable marks code that should be unreachable +// when BoringCrypto is in use. It is a no-op without BoringCrypto. +func Unreachable() {} + +// UnreachableExceptTests marks code that should be unreachable +// when BoringCrypto is in use. It is a no-op without BoringCrypto. +func UnreachableExceptTests() {} |