]> Cypherpunks repositories - gostls13.git/commitdiff
crypto/tls: typo fix
authorAdam Langley <agl@golang.org>
Fri, 5 Feb 2010 10:39:49 +0000 (05:39 -0500)
committerAdam Langley <agl@golang.org>
Fri, 5 Feb 2010 10:39:49 +0000 (05:39 -0500)
R=rsc
CC=golang-dev
https://golang.org/cl/201047

src/pkg/crypto/tls/ca_set.go

index 00f6a87306382f153405f76ca73cd364caefc153..c11539c8b16a62c63214466aa288518ecb0f20ff 100644 (file)
@@ -23,7 +23,7 @@ func NewCASet() *CASet {
 }
 
 func nameToKey(name *x509.Name) string {
-       return name.Country + "/" + name.OrganizationalUnit + "/" + name.OrganizationalUnit + "/" + name.CommonName
+       return name.Country + "/" + name.Organization + "/" + name.OrganizationalUnit + "/" + name.CommonName
 }
 
 // FindParent attempts to find the certificate in s which signs the given