diff options
| author | Filippo Valsorda <filippo@golang.org> | 2019-05-21 15:00:50 -0400 |
|---|---|---|
| committer | Filippo Valsorda <filippo@golang.org> | 2019-05-22 16:20:11 +0000 |
| commit | 2326a668781a664707f5775d896879668ab378e8 (patch) | |
| tree | cf08128baa4424cee1995ad2272452b18b48162d /src/encoding | |
| parent | a3d4655c2435e3777c45f09650539b943bab1c66 (diff) | |
| download | go-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
