]> Cypherpunks repositories - gostls13.git/commit
crypto/x509: if a parent cert has a raw subject, use it.
authorAdam Langley <agl@golang.org>
Tue, 6 Dec 2011 21:42:48 +0000 (16:42 -0500)
committerAdam Langley <agl@golang.org>
Tue, 6 Dec 2011 21:42:48 +0000 (16:42 -0500)
commit02d1dae1069f881ea6b53ecc3cbf3bbe3ac40a72
tree99db9c485d304682c3b1ab429e10d4df25e13fd7
parentee8b597b1f1ffa634189cdd8ab23f976f65dab7f
crypto/x509: if a parent cert has a raw subject, use it.

This avoids a problem when creating certificates with parents that
were produce by other code: the Go structures don't contain all the
information about the various ASN.1 string types etc and so that
information would otherwise be lost.

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