diff options
-rw-r--r-- | src/pkg/crypto/tls/ca_set.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/crypto/tls/ca_set.go b/src/pkg/crypto/tls/ca_set.go index 00f6a8730..c11539c8b 100644 --- a/src/pkg/crypto/tls/ca_set.go +++ b/src/pkg/crypto/tls/ca_set.go @@ -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 |