From e663a3ee2287be77dcd44631b29147a1eddcb4f0 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sat, 9 Sep 2023 11:30:45 -0700 Subject: Re-run 'make format' with latest version of gofmt --- pam/login.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pam') diff --git a/pam/login.go b/pam/login.go index 527b10d..e4f8f83 100644 --- a/pam/login.go +++ b/pam/login.go @@ -51,6 +51,7 @@ var ( // userInput is run when the callback needs some input from the user. We prompt // the user for information and return their answer. A return value of nil // indicates an error occurred. +// //export userInput func userInput(prompt *C.char) *C.char { fmt.Print(C.GoString(prompt)) @@ -65,6 +66,7 @@ func userInput(prompt *C.char) *C.char { // passphraseInput is run when the callback needs a passphrase from the user. We // pass along the tokenToCheck without prompting. A return value of nil // indicates an error occurred. +// //export passphraseInput func passphraseInput(prompt *C.char) *C.char { log.Printf("getting secret data for PAM: %q", C.GoString(prompt)) -- cgit v1.2.3