aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/internal/boring/boring.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2017-09-14 11:10:23 -0400
committerRuss Cox <rsc@golang.org>2017-09-18 00:32:27 +0000
commit9f025cbdebcc80fe3ea7621755561483453c2fa2 (patch)
tree7e7aa03c4de1fa2f37a1de1ec17592116f666529 /src/crypto/internal/boring/boring.go
parent89ba9e3541b12ce4e6e36682e5a0a534e0c0cd56 (diff)
downloadgo-9f025cbdebcc80fe3ea7621755561483453c2fa2.tar.gz
go-9f025cbdebcc80fe3ea7621755561483453c2fa2.zip
[dev.boringcrypto] crypto/internal/boring: fall back to standard crypto when using -msan
The syso is not compiled with -fsanitize=memory, so don't try to use it. Otherwise the first time it calls out to memcmp, memcmp complains that it is being asked to compare uninitialized memory. Change-Id: I85ab707cfbe64eded8e110d4d6b40d1b75f50541 Reviewed-on: https://go-review.googlesource.com/63916 Reviewed-by: Adam Langley <agl@golang.org>
Diffstat (limited to 'src/crypto/internal/boring/boring.go')
-rw-r--r--src/crypto/internal/boring/boring.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/crypto/internal/boring/boring.go b/src/crypto/internal/boring/boring.go
index 1dd49fecfb..98aa851de7 100644
--- a/src/crypto/internal/boring/boring.go
+++ b/src/crypto/internal/boring/boring.go
@@ -5,6 +5,7 @@
// +build linux,amd64
// +build !android
// +build !cmd_go_bootstrap
+// +build !msan
package boring