]> Cypherpunks repositories - gostls13.git/commit
crypto/x509: Correction of incrorrect default version number in TBSCertificateList...
authorPaul van Brouwershaven <paul@vanbrouwershaven.com>
Mon, 5 Jan 2015 11:27:40 +0000 (11:27 +0000)
committerAdam Langley <agl@golang.org>
Mon, 12 Jan 2015 22:09:50 +0000 (22:09 +0000)
commit083e04c3d963832116deb0d11e1fab5d7d57132a
tree14457231f311899d8a3aa8b6242667b013d3804d
parent081bc6b226f1df783f13657251cf4d4148179c25
crypto/x509: Correction of incrorrect default version number in TBSCertificateList and Certificate.CreateCRL

RFC5280 states:

"This optional field describes the version of the encoded CRL.  When
 extensions are used, as required by this profile, this field MUST be
 present and MUST specify version 2 (the integer value is 1)."

This CL has been discussed at: http://golang.org/cl/172560043

Change-Id: I8a72d7593d5ca6714abe9abd6a37437c3b69ab0f
Reviewed-on: https://go-review.googlesource.com/2259
Reviewed-by: Adam Langley <agl@golang.org>
src/crypto/x509/pkix/pkix.go
src/crypto/x509/x509.go