]> Cypherpunks repositories - gostls13.git/commit
crypto/x509: ignore non-critical email constraints
authorAdam Langley <agl@golang.org>
Thu, 20 Sep 2012 16:30:56 +0000 (12:30 -0400)
committerAdam Langley <agl@golang.org>
Thu, 20 Sep 2012 16:30:56 +0000 (12:30 -0400)
commitbe11889ab1584a5c6dfd1422ba163d893753b1ad
tree7ae01e200789ed80c5bc9e0a8aa6ada12d04bdf2
parent036640fab79903273ca0f8b24bb5ac3f539f1bfc
crypto/x509: ignore non-critical email constraints

Previously we tried to parse email constraints as the maximum base
distance (which is unused and must be omitted according to RFC 5280)
because they share the same tag number. Rather than complicate the
code further, this CL just ignores the unused values.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/6552044
src/pkg/crypto/x509/x509.go