Skip to content
Snippets Groups Projects
Commit ec3841b6 authored by ale's avatar ale
Browse files

Remove TODO

parent b41466ff
No related branches found
No related tags found
No related merge requests found
...@@ -111,8 +111,6 @@ func isSignedBy(cert, ca *x509.Certificate) bool { ...@@ -111,8 +111,6 @@ func isSignedBy(cert, ca *x509.Certificate) bool {
return cert.CheckSignatureFrom(ca) == nil return cert.CheckSignatureFrom(ca) == nil
} }
// TODO: add "signedByCA()" check to verify that the certificate has been signed by the CA we have.
func pkixEqual(a, b pkix.Name) bool { func pkixEqual(a, b pkix.Name) bool {
return (a.CommonName == b.CommonName && return (a.CommonName == b.CommonName &&
compareStringList(a.Country, b.Country) && compareStringList(a.Country, b.Country) &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment