open-vault/builtin/logical/pki/util.go
2017-05-03 10:12:58 -04:00

8 lines
141 B
Go

package pki
import "strings"
func normalizeSerial(serial string) string {
return strings.Replace(strings.ToLower(serial), ":", "-", -1)
}