diff options
| author | Roland Shoemaker <roland@golang.org> | 2025-03-03 16:27:36 -0800 |
|---|---|---|
| committer | Roland Shoemaker <roland@golang.org> | 2025-03-13 16:44:25 -0700 |
| commit | 937368f84e545db15d3f39c2b33a267ba8ead4a4 (patch) | |
| tree | 35ade0dbd589cc8e89d51ce608eb1aaa5ab86dea /src/cmd/internal/obj | |
| parent | 3b456ff42137df2b89295ede29c915d43c10b538 (diff) | |
| download | go-937368f84e545db15d3f39c2b33a267ba8ead4a4.tar.xz | |
crypto/x509: change how we retrieve chains on darwin
Instead of using the deprecated SecTrustGetCertificateAtIndex and
SecTrustGetCertificateCount method, use the SecTrustCopyCertificateChain
method.
This method require macOS 12+, which will be the minimum supported
version in 1.25.
Change-Id: I9a5ef75431cdb84f1cbe4eee47e6e9e2da4dea03
Reviewed-on: https://go-review.googlesource.com/c/go/+/654376
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Daniel McCarney <daniel@binaryparadox.net>
Diffstat (limited to 'src/cmd/internal/obj')
0 files changed, 0 insertions, 0 deletions
