From 16d3afb92aa1c1785c9f170161bfefd354b94b40 Mon Sep 17 00:00:00 2001 From: Mariano Cano Date: Fri, 6 Aug 2021 12:37:20 -0700 Subject: [PATCH] Remove unused method. --- authority/export.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/authority/export.go b/authority/export.go index 97efac03..c7a4724b 100644 --- a/authority/export.go +++ b/authority/export.go @@ -220,13 +220,6 @@ func (a *Authority) Export() (c *linkedca.Configuration, err error) { return c, nil } -func mustPassword(s string) []byte { - if s == "" { - return nil - } - return []byte(s) -} - func mustDuration(d *provisioner.Duration) string { if d == nil || d.Duration == 0 { return ""