aboutsummaryrefslogtreecommitdiff
path: root/src/encoding
diff options
context:
space:
mode:
authorFilippo Valsorda <filippo@golang.org>2019-05-21 15:00:50 -0400
committerFilippo Valsorda <filippo@golang.org>2019-05-22 16:20:11 +0000
commit2326a668781a664707f5775d896879668ab378e8 (patch)
treecf08128baa4424cee1995ad2272452b18b48162d /src/encoding
parenta3d4655c2435e3777c45f09650539b943bab1c66 (diff)
downloadgo-2326a668781a664707f5775d896879668ab378e8.tar.xz
crypto/x509: fix and cleanup loadSystemRoots on macOS
Note how untrustedData is never NULL, so loadSystemRoots was checking the wrong thing. Also, renamed the C function to CopyPEMRoots to follow the CoreFoundation naming convention on ownership. Finally, redirect all debug output to standard error. Change-Id: Ie80abefadf8974a75c0646aa02fcfcebcbe3bde8 Reviewed-on: https://go-review.googlesource.com/c/go/+/178538 Reviewed-by: Adam Langley <agl@golang.org>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions