configfile: Fix a copy&paste error in validateParams method.

This commit is contained in:
Sebastian Lackner 2018-12-28 02:43:40 +01:00 committed by rfjakob
parent 07c486603c
commit 24594d99bf
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}
}