]> Cypherpunks repositories - gostls13.git/commit
[dev.boringcrypto] crypto/ecdsa: use unsafe.Pointer instead of atomic.Value
authorRuss Cox <rsc@golang.org>
Fri, 18 Aug 2017 13:11:40 +0000 (09:11 -0400)
committerRuss Cox <rsc@golang.org>
Sat, 19 Aug 2017 03:16:44 +0000 (03:16 +0000)
commitbc38fda367998bf4ab4dd3b42635864dc35f3109
treeedb41bba55c05c9ade062df5ac38c9a733f45dbd
parentb1f201e951a7c1051de3e4ab5cef0d2367ab828e
[dev.boringcrypto] crypto/ecdsa: use unsafe.Pointer instead of atomic.Value

Using atomic.Value causes vet errors in code copying
PublicKey or PrivateKey structures. I don't think the errors
are accurate, but it's easier to work around them than
to change vet or change atomic.Value.

See #21504.

Change-Id: I3a3435c1fc664cc5166c81674f6f7c58dab35f21
Reviewed-on: https://go-review.googlesource.com/56671
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Adam Langley <agl@golang.org>
src/crypto/ecdsa/boring.go
src/crypto/ecdsa/ecdsa.go