]> Cypherpunks repositories - gostls13.git/commit
crypto/x509: don't panic when asn1.ObjectIdentifier is shorter than x509.OID
authorMateusz Poliwczak <mpoliwczak34@gmail.com>
Tue, 4 Jun 2024 18:44:09 +0000 (18:44 +0000)
committerRoland Shoemaker <roland@golang.org>
Tue, 4 Jun 2024 19:10:38 +0000 (19:10 +0000)
commite8f7a959ecc0071644ed033365a0d76630706696
tree3f209f6e996ae67bd705efe829387bb66a6e91de
parentad4d9b046482a3a3fef19388a0d692ff4ebbe730
crypto/x509: don't panic when asn1.ObjectIdentifier is shorter than x509.OID

Change-Id: Ia08673450edc93fe1a9c7c05b7e69a05cd5ac8b9
GitHub-Last-Rev: c396197cb1f94b7fe8405d89c805c0566aa07fda
GitHub-Pull-Request: golang/go#64655
Reviewed-on: https://go-review.googlesource.com/c/go/+/548915
Reviewed-by: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
src/crypto/x509/oid.go
src/crypto/x509/oid_test.go