mirror of
https://github.com/SSLMate/certspotter.git
synced 2025-06-27 10:15:33 +02:00
Support for IP addresses encoded as strings in CNs/DNS SANs
This commit is contained in:
parent
82167b8151
commit
df5ad71a40
@ -38,8 +38,8 @@ func NewIdentifiers () *Identifiers {
|
||||
}
|
||||
}
|
||||
|
||||
func parseIPAddrString (str string) net.IP { // TODO
|
||||
return nil
|
||||
func parseIPAddrString (str string) net.IP {
|
||||
return net.ParseIP(str)
|
||||
}
|
||||
|
||||
func isASCIIString (value []byte) bool {
|
||||
|
Loading…
x
Reference in New Issue
Block a user