• Filippo Valsorda's avatar
    crypto/x509: re-enable TestSystemRoots · 9536c5fa
    Filippo Valsorda authored
    Now that the cgo and no-cgo paths should be correct and equivalent,
    re-enable the TestSystemRoots test without any margin of error (which
    was tripping anyway when users had too many of a certain edge-case).
    
    As a last quirk, the verify-cert invocation will validate certificates
    that aren't roots, but are signed by valid roots. Ignore them.
    
    Fixes #24652
    
    Change-Id: I6a8ff3c2282136d7122a4e7e387eb8014da0d28a
    Reviewed-on: https://go-review.googlesource.com/c/128117
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Run-TryBot: Filippo Valsorda <filippo@golang.org>
    Reviewed-by: 's avatarAdam Langley <agl@golang.org>
    9536c5fa
root_darwin_test.go 3.8 KB