diff options
Diffstat (limited to 'pkg/store/local.go')
| -rw-r--r-- | pkg/store/local.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/store/local.go b/pkg/store/local.go index 0722c94..4a2520d 100644 --- a/pkg/store/local.go +++ b/pkg/store/local.go @@ -59,8 +59,8 @@ type Local struct { } // path returns private and public key path. -func (l *Local) path(caName, name string) (priv string, cert string) { - priv = filepath.Join(l.Root, caName, LocalKeysDir, name+".key") +func (l *Local) path(caName, name string) (key string, cert string) { + key = filepath.Join(l.Root, caName, LocalKeysDir, name+".key") cert = filepath.Join(l.Root, caName, LocalCertsDir, name+".crt") return } |
