Jelajahi Sumber

Remove unused method.

Mariano Cano 5 tahun lalu
induk
melakukan
16d3afb92a
1 mengubah file dengan 0 tambahan dan 7 penghapusan
  1. 0 7
      authority/export.go

+ 0 - 7
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 ""