]> Cypherpunks repositories - gostls13.git/commit
[dev.boringcrypto] crypto/internal/boring: fall back to standard crypto when using...
authorRuss Cox <rsc@golang.org>
Thu, 14 Sep 2017 15:10:23 +0000 (11:10 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 18 Sep 2017 00:32:27 +0000 (00:32 +0000)
commit9f025cbdebcc80fe3ea7621755561483453c2fa2
tree7e7aa03c4de1fa2f37a1de1ec17592116f666529
parent89ba9e3541b12ce4e6e36682e5a0a534e0c0cd56
[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>
src/crypto/internal/boring/aes.go
src/crypto/internal/boring/boring.go
src/crypto/internal/boring/ecdsa.go
src/crypto/internal/boring/hmac.go
src/crypto/internal/boring/notboring.go
src/crypto/internal/boring/rand.go
src/crypto/internal/boring/rsa.go
src/crypto/internal/boring/sha.go