From df5ad71a40af4e6140292ff0a8321c4f877add89 Mon Sep 17 00:00:00 2001 From: Andrew Ayer Date: Mon, 2 May 2016 11:38:08 -0700 Subject: [PATCH] Support for IP addresses encoded as strings in CNs/DNS SANs --- identifiers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/identifiers.go b/identifiers.go index 01891b9..c9acc0b 100644 --- a/identifiers.go +++ b/identifiers.go @@ -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 {