From 9b90c0558e1ef4819cc48683b5a1c93cfa7afa74 Mon Sep 17 00:00:00 2001 From: Russ Magee Date: Wed, 11 Dec 2019 17:37:56 -0800 Subject: [PATCH] Fixed leftover hkexsh -> xs refs in xspasswd --- xspasswd/xspasswd.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xspasswd/xspasswd.go b/xspasswd/xspasswd.go index 56bf5ec..abdb3eb 100644 --- a/xspasswd/xspasswd.go +++ b/xspasswd/xspasswd.go @@ -17,7 +17,7 @@ import ( "log" "os" - hkexsh "blitter.com/go/hkexsh" + xs "blitter.com/go/xs" "github.com/jameskeane/bcrypt" ) @@ -59,7 +59,7 @@ func main() { uname = userName fmt.Printf("New Password:") - ab, err := hkexsh.ReadPassword(int(os.Stdin.Fd())) + ab, err := xs.ReadPassword(int(os.Stdin.Fd())) fmt.Printf("\r\n") if err != nil { log.Fatal(err) @@ -68,7 +68,7 @@ func main() { newpw = string(ab) fmt.Printf("Confirm:") - ab, err = hkexsh.ReadPassword(int(os.Stdin.Fd())) + ab, err = xs.ReadPassword(int(os.Stdin.Fd())) fmt.Printf("\r\n") if err != nil { log.Fatal(err)