diff --git a/x509_cert/x509_utils.go b/x509_cert/x509_utils.go index 81a2e07..4bf3674 100644 --- a/x509_cert/x509_utils.go +++ b/x509_cert/x509_utils.go @@ -37,7 +37,6 @@ func FindOtherName(certificate *x509.Certificate) (string, SanTypeName, error) { func findOtherNameValue(cert *x509.Certificate) (string, error) { value := "" for _, extension := range cert.Extensions { - fmt.Println("extension.Id: ", extension.Id) if extension.Id.Equal(SubjectAlternativeNameType) { err := forEachSAN(extension.Value, func(tag int, data []byte) error { if tag != 0 { @@ -48,7 +47,6 @@ func findOtherNameValue(cert *x509.Certificate) (string, error) { if err != nil { return fmt.Errorf("could not parse requested other SAN: %v", err) } - fmt.Println("other.TypeID: ", other.TypeID, OtherNameType) if other.TypeID.Equal(OtherNameType) { _, err = asn1.Unmarshal(other.Value.Bytes, &value) if err != nil {