mirror of
https://github.com/SSLMate/certspotter.git
synced 2025-06-27 10:15:33 +02:00
Remove unused code
This commit is contained in:
parent
9544d8ab50
commit
26439b4deb
@ -262,21 +262,6 @@ func (ids *Identifiers) AddIPAddress(value net.IP) {
|
|||||||
ids.appendIPAddress(value)
|
ids.appendIPAddress(value)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (ids *Identifiers) dnsNamesString(sep string) string {
|
|
||||||
return strings.Join(ids.DNSNames, sep)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (ids *Identifiers) ipAddrsString(sep string) string {
|
|
||||||
str := ""
|
|
||||||
for _, ipAddr := range ids.IPAddrs {
|
|
||||||
if str != "" {
|
|
||||||
str += sep
|
|
||||||
}
|
|
||||||
str += ipAddr.String()
|
|
||||||
}
|
|
||||||
return str
|
|
||||||
}
|
|
||||||
|
|
||||||
func (cert *CertInfo) ParseIdentifiers() (*Identifiers, error) {
|
func (cert *CertInfo) ParseIdentifiers() (*Identifiers, error) {
|
||||||
ids := NewIdentifiers()
|
ids := NewIdentifiers()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user