mirror of
https://github.com/golang/go
synced 2024-11-26 02:57:57 -07:00
[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>
This commit is contained in:
parent
89ba9e3541
commit
9f025cbdeb
@ -5,6 +5,7 @@
|
||||
// +build linux,amd64
|
||||
// +build !android
|
||||
// +build !cmd_go_bootstrap
|
||||
// +build !msan
|
||||
|
||||
package boring
|
||||
|
||||
|
@ -5,6 +5,7 @@
|
||||
// +build linux,amd64
|
||||
// +build !android
|
||||
// +build !cmd_go_bootstrap
|
||||
// +build !msan
|
||||
|
||||
package boring
|
||||
|
||||
|
@ -5,6 +5,7 @@
|
||||
// +build linux,amd64
|
||||
// +build !android
|
||||
// +build !cmd_go_bootstrap
|
||||
// +build !msan
|
||||
|
||||
package boring
|
||||
|
||||
|
@ -5,6 +5,7 @@
|
||||
// +build linux,amd64
|
||||
// +build !android
|
||||
// +build !cmd_go_bootstrap
|
||||
// +build !msan
|
||||
|
||||
package boring
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// 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 android !cgo
|
||||
// +build !linux !amd64 !cgo android cmd_go_bootstrap msan
|
||||
|
||||
package boring
|
||||
|
||||
|
@ -5,6 +5,7 @@
|
||||
// +build linux,amd64
|
||||
// +build !android
|
||||
// +build !cmd_go_bootstrap
|
||||
// +build !msan
|
||||
|
||||
package boring
|
||||
|
||||
|
@ -5,6 +5,7 @@
|
||||
// +build linux,amd64
|
||||
// +build !android
|
||||
// +build !cmd_go_bootstrap
|
||||
// +build !msan
|
||||
|
||||
package boring
|
||||
|
||||
|
@ -5,6 +5,7 @@
|
||||
// +build linux,amd64
|
||||
// +build !android
|
||||
// +build !cmd_go_bootstrap
|
||||
// +build !msan
|
||||
|
||||
package boring
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user