mirror of
https://github.com/golang/go
synced 2024-11-22 02:24:41 -07:00
parent
bc43cc3db0
commit
5d827fac39
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user