]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.19] crypto/x509: fix system root tests + darwin intermediate...
authorRoland Shoemaker <roland@golang.org>
Tue, 28 Feb 2023 21:23:43 +0000 (13:23 -0800)
committerGopher Robot <gobot@golang.org>
Wed, 1 Mar 2023 21:50:54 +0000 (21:50 +0000)
commit21e451ec446724c9f3f124139e07d88ff812a1bc
tree4543b7ed7461deedb3e69bcfd6d406ba668d9711
parent600d372f587735d59c3d132ffe99e211911378bc
[release-branch.go1.19] crypto/x509: fix system root tests + darwin intermediate handling

On Windows, replace tests which rely on a root that expired last year.
On Darwin fix an test which wasn't testing the expected behavior, and
fix the behavior which was broken.

Updates #58791
Fixes #58810

Change-Id: I771175b9e123b8bb0e4efdf58cc2bb93aa94fbae
Reviewed-on: https://go-review.googlesource.com/c/go/+/472295
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Run-TryBot: Roland Shoemaker <roland@golang.org>
(cherry picked from commit bb8f9a6ae66d742cb67b4ad444179905a537de00)
Reviewed-on: https://go-review.googlesource.com/c/go/+/472615
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@google.com>
src/crypto/x509/root_darwin.go
src/crypto/x509/root_unix_test.go
src/crypto/x509/verify_test.go