Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
id
keystore
Commits
b09f1210
Commit
b09f1210
authored
Dec 15, 2017
by
ale
Browse files
Fix typo
parent
841d17b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/decrypt.go
View file @
b09f1210
...
...
@@ -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
,
key
Size
)
dk
,
err
:=
scrypt
.
Key
(
pw
,
salt
,
scryptN
,
scryptR
,
scryptP
,
key
Len
)
if
err
!=
nil
{
return
nil
,
err
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment