diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2016-07-10 22:35:13 +0100 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2016-07-17 13:58:10 +0100 |
commit | 49f40a952943f26494d6407dc608b50b2ec0df7f (patch) | |
tree | c261836adad0165642bb7ade18db78852ad6c5cb /server/signer | |
parent | dee5a19d36554a8f9a365efd65d13b134889bf63 (diff) |
Add some handlers tests
Diffstat (limited to 'server/signer')
-rw-r--r-- | server/signer/signer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/signer/signer.go b/server/signer/signer.go index a3f056a..8169c11 100644 --- a/server/signer/signer.go +++ b/server/signer/signer.go @@ -69,7 +69,7 @@ func makeperms(perms []string) map[string]string { } // New creates a new KeySigner from the supplied configuration. -func New(conf config.SSH) (*KeySigner, error) { +func New(conf *config.SSH) (*KeySigner, error) { data, err := wkfs.ReadFile(conf.SigningKey) if err != nil { return nil, fmt.Errorf("unable to read CA key %s: %v", conf.SigningKey, err) |