diff options
Diffstat (limited to 'internal')
-rw-r--r-- | internal/configfile/scrypt.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/configfile/scrypt.go b/internal/configfile/scrypt.go index a1caf06..54fe0c6 100644 --- a/internal/configfile/scrypt.go +++ b/internal/configfile/scrypt.go @@ -100,7 +100,7 @@ func (s *ScryptKDF) validateParams() { os.Exit(exitcodes.ScryptParams) } if s.KeyLen < cryptocore.KeyLen { - tlog.Fatal.Printf("Fatal: scrypt parameter KeyLen below minimum: value=%d, min=%d", len(s.Salt), cryptocore.KeyLen) + tlog.Fatal.Printf("Fatal: scrypt parameter KeyLen below minimum: value=%d, min=%d", s.KeyLen, cryptocore.KeyLen) os.Exit(exitcodes.ScryptParams) } } |