aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/testdata
diff options
context:
space:
mode:
authorKatie Hockman <katie@golang.org>2020-05-26 15:36:58 -0400
committerKatie Hockman <katie@golang.org>2020-05-26 21:29:55 +0000
commitb5bf2f068251355538b66d36cc787cf59ced55be (patch)
tree72d9c5da4ee391ffd663e3ad019008a7f1ecc297 /src/runtime/testdata
parente5a6a94aeb98fbfd2a046bd75042cbcbc2a529d4 (diff)
downloadgo-b5bf2f068251355538b66d36cc787cf59ced55be.tar.xz
crypto/x509: allow setting MaxPathLen to -1 without IsCA
This fixes a bug in CL 228777 which disallowed a MaxPathLen of -1 without IsCA, even though the x509.Certificate documentation indicates that MaxPathLen of -1 is considered "unset". Updates #38216 Change-Id: Ib7240e00408d060f27567be8b820d0eee239256f Reviewed-on: https://go-review.googlesource.com/c/go/+/235280 Run-TryBot: Katie Hockman <katie@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Filippo Valsorda <filippo@golang.org>
Diffstat (limited to 'src/runtime/testdata')
0 files changed, 0 insertions, 0 deletions