]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.20] 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:27 +0000 (21:50 +0000)
commit3243f93747227816795bca8f04452fbdc2237e5f
tree6e546988a6d85a7360852ffc44e7e81220bcb63d
parentd2d0ee2049e78d8c57025e0861425808825c759e
[release-branch.go1.20] 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 #58811

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/+/472616
Auto-Submit: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/crypto/x509/root_darwin.go
src/crypto/x509/root_unix_test.go
src/crypto/x509/verify_test.go