]> Cypherpunks repositories - gostls13.git/commit
[dev.boringcrypto] misc/boring: add go1.12.1b4 and update build scripts
authorFilippo Valsorda <filippo@golang.org>
Wed, 27 Mar 2019 00:26:53 +0000 (20:26 -0400)
committerFilippo Valsorda <filippo@golang.org>
Thu, 28 Mar 2019 18:21:20 +0000 (18:21 +0000)
commit347af7f0605427acb096aa6d33bb2395b859e6fb
treed79ad90b0429f998bbef6bf500d3c5190870420a
parenta10558f870524965d720a3fee92ed0f0b8d096df
[dev.boringcrypto] misc/boring: add go1.12.1b4 and update build scripts

The inliner seems to have gotten a bit too smart in 1.12 and it made
sha1.boringNewSHA1 disappear. Replace it with the proper
crypto/internal/boring/sig.BoringCrypto signature. Also, switch the
negative signature to sha256.(*digest), since SHA-256 is used for sure
by cmd/go. Not using crypto/internal/boring/sig.StandardCrypto just to
be safe, in case the crypto/internal/boring/sig mechanism breaks.

Also, had to fight #30833 and #30515 to get
golang.org/x/build/cmd/release to build in modules mode.

Change-Id: I46f1471582fd77daae47d00baab975109902052d
Reviewed-on: https://go-review.googlesource.com/c/go/+/169517
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
misc/boring/RELEASES
misc/boring/build.docker
misc/boring/build.release