diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2017-01-05 23:28:26 +0000 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2017-01-05 23:28:26 +0000 |
commit | 9e9a7d50970f1424245d88169de82988fd57e112 (patch) | |
tree | 25aca2f5e18fe3ff454af34d5d75f8c5204d81fb /cmd | |
parent | 8066efd45861e7c024fc1daabc6d002266a527e7 (diff) |
Move GetPublicKey to the shared `lib` package
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/cashierd/main.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/cashierd/main.go b/cmd/cashierd/main.go index 31ee240..52b6a8b 100644 --- a/cmd/cashierd/main.go +++ b/cmd/cashierd/main.go @@ -34,7 +34,6 @@ import ( "github.com/nsheridan/cashier/server/static" "github.com/nsheridan/cashier/server/store" "github.com/nsheridan/cashier/server/templates" - "github.com/nsheridan/cashier/server/util" "github.com/nsheridan/cashier/server/wkfs/vaultfs" "github.com/nsheridan/wkfs/s3" "github.com/sid77/drop" @@ -169,7 +168,7 @@ func signHandler(a *appContext, w http.ResponseWriter, r *http.Request) (int, er } json.NewEncoder(w).Encode(&lib.SignResponse{ Status: "ok", - Response: util.GetPublicKey(cert), + Response: lib.GetPublicKey(cert), }) return http.StatusOK, nil } |