Remove unused method.

This commit is contained in:
Mariano Cano 2021-08-06 12:37:20 -07:00
parent d72fa953ac
commit 16d3afb92a

View file

@ -220,13 +220,6 @@ func (a *Authority) Export() (c *linkedca.Configuration, err error) {
return c, nil return c, nil
} }
func mustPassword(s string) []byte {
if s == "" {
return nil
}
return []byte(s)
}
func mustDuration(d *provisioner.Duration) string { func mustDuration(d *provisioner.Duration) string {
if d == nil || d.Duration == 0 { if d == nil || d.Duration == 0 {
return "" return ""