Skip to content

Commit

Permalink
fix: swap proper format specifier
Browse files Browse the repository at this point in the history
  • Loading branch information
J0 committed Sep 24, 2024
1 parent 7ec954e commit 9d8888d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/crypto/password.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func ParseScryptHash(hash string) (*ScryptHashInput, error) {
return nil, fmt.Errorf("crypto: scrypt hash uses unsupported algorithm %q only scrypt supported", alg)
}
if v != "1" {
return nil, fmt.Errorf("crypto: scrypt hash uses unsupported version $q only version 1 is supported", v)
return nil, fmt.Errorf("crypto: scrypt hash uses unsupported version %q only version 1 is supported", v)
}

memory, err := strconv.ParseUint(n, 10, 32)
Expand Down

0 comments on commit 9d8888d

Please sign in to comment.