open-vault/builtin/logical/pki/util.go

8 lines
141 B
Go

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