diff options
Diffstat (limited to 'src/crypto/internal/boring/boring.go')
-rw-r--r-- | src/crypto/internal/boring/boring.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/crypto/internal/boring/boring.go b/src/crypto/internal/boring/boring.go index 5982a22743..615b1efadc 100644 --- a/src/crypto/internal/boring/boring.go +++ b/src/crypto/internal/boring/boring.go @@ -37,3 +37,7 @@ func UnreachableExceptTests() { panic("boringcrypto: invalid code execution") } } + +type fail string + +func (e fail) Error() string { return "boringcrypto: " + string(e) + " failed" } |