mirror of
https://github.com/golang/go
synced 2024-11-19 03:04:42 -07:00
crypto/x509: fix build break on darwin/{arm,arm64}
Fix build error on darwin/{arm,arm64} caused by a62ae9f6
.
Change-Id: I7da4d147a529b11b3e71352a9276a57595ec4b05
Reviewed-on: https://go-review.googlesource.com/21356
Run-TryBot: Dave Cheney <dave@cheney.net>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
f76b793784
commit
42d6294694
@ -187,6 +187,6 @@ package x509
|
||||
func loadSystemRoots() (*CertPool, error) {
|
||||
p := NewCertPool()
|
||||
p.AppendCertsFromPEM([]byte(systemRootsPEM))
|
||||
return p
|
||||
return p, nil
|
||||
}
|
||||
`
|
||||
|
@ -13,7 +13,7 @@ package x509
|
||||
func loadSystemRoots() (*CertPool, error) {
|
||||
p := NewCertPool()
|
||||
p.AppendCertsFromPEM([]byte(systemRootsPEM))
|
||||
return p
|
||||
return p, nil
|
||||
}
|
||||
|
||||
const systemRootsPEM = `
|
||||
|
Loading…
Reference in New Issue
Block a user