From 893998eaf004ef133457f13eb793363895a0c3ad Mon Sep 17 00:00:00 2001 From: linted Date: Thu, 19 Oct 2023 11:11:56 -0700 Subject: [PATCH 1/2] reformated the import list to match std golang formatting --- pam/cmdline_darwin.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pam/cmdline_darwin.go b/pam/cmdline_darwin.go index da2517a..22e0848 100644 --- a/pam/cmdline_darwin.go +++ b/pam/cmdline_darwin.go @@ -6,11 +6,12 @@ package pam import ( "encoding/binary" "errors" - "github.com/theparanoids/pam-ysshca/msg" - "golang.org/x/sys/unix" "os" "strings" "syscall" + + "github.com/theparanoids/pam-ysshca/msg" + "golang.org/x/sys/unix" ) var unknownCommand = []byte("unknown command") From d7151215b7df3601825683f7e47e90feb2cb20aa Mon Sep 17 00:00:00 2001 From: linted Date: Thu, 19 Oct 2023 11:12:37 -0700 Subject: [PATCH 2/2] fixed a missing import of msg --- pam/cmdline_linux.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pam/cmdline_linux.go b/pam/cmdline_linux.go index 4f15068..9f4d4f7 100644 --- a/pam/cmdline_linux.go +++ b/pam/cmdline_linux.go @@ -8,6 +8,8 @@ import ( "fmt" "io/ioutil" "os" + + "github.com/theparanoids/pam-ysshca/msg" ) func getCmdLine() []byte {