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

8 lines
141 B
Go
Raw Normal View History

2017-05-03 14:12:58 +00:00
package pki
import "strings"
func normalizeSerial(serial string) string {
return strings.Replace(strings.ToLower(serial), ":", "-", -1)
}