Skip to content
Snippets Groups Projects
Commit b09f1210 authored by ale's avatar ale
Browse files

Fix typo

parent 841d17b2
No related branches found
No related tags found
No related merge requests found
...@@ -25,7 +25,7 @@ func decrypt(data, pw []byte) ([]byte, error) { ...@@ -25,7 +25,7 @@ func decrypt(data, pw []byte) ([]byte, error) {
// Apply the key derivation function to the password to obtain // Apply the key derivation function to the password to obtain
// a 64 byte key. // 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 { if err != nil {
return nil, err return nil, err
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment