Commit b09f1210 authored by ale's avatar ale
Browse files

Fix typo

parent 841d17b2
......@@ -25,7 +25,7 @@ func decrypt(data, pw []byte) ([]byte, error) {
// Apply the key derivation function to the password to obtain
// a 64 byte key.
dk, err := scrypt.Key(pw, salt, scryptN, scryptR, scryptP, keySize)
dk, err := scrypt.Key(pw, salt, scryptN, scryptR, scryptP, keyLen)
if err != nil {
return nil, err
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment