configfile: Fix a copy&paste error in validateParams method.
This commit is contained in:
parent
07c486603c
commit
24594d99bf
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user