diff options
| author | Filippo Valsorda <filippo@golang.org> | 2019-05-22 11:10:06 -0400 |
|---|---|---|
| committer | Filippo Valsorda <filippo@golang.org> | 2019-05-22 16:23:17 +0000 |
| commit | 42bb47689310ebe2fedd165db98402a7874dc6be (patch) | |
| tree | 2dae049c885e2fe23c7150c9383f44ebcf63df11 /src/encoding | |
| parent | 2326a668781a664707f5775d896879668ab378e8 (diff) | |
| download | go-42bb47689310ebe2fedd165db98402a7874dc6be.tar.xz | |
crypto/x509: include roots with empty or multiple policies on macOS
To a fifth reading of the relevant docs, it looks like
1) a constraint dictionary with no policy applies to all of them;
2) multiple applying constraint dictionaries should have their results OR'd;
3) untrusted certificates in the keychain should be used for chain building.
This fixes 1), approximates 2) and punts on 3).
Fixes #30672
Fixes #30471
Change-Id: Ibbaabf0b77d267377c0b5de07abca3445c2c2302
Reviewed-on: https://go-review.googlesource.com/c/go/+/178539
Reviewed-by: Adam Langley <agl@golang.org>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions
