summaryrefslogtreecommitdiff
path: root/tests/scrypt.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scrypt.go')
-rw-r--r--tests/scrypt.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/scrypt.go b/tests/scrypt.go
index d6d59c3..b7d87f1 100644
--- a/tests/scrypt.go
+++ b/tests/scrypt.go
@@ -431,9 +431,9 @@ func test_Salt() {
testing("we generate a random salt of a fixed size", func() {
salt := Salt()
- assertEq(len(salt), scryptSaltMinLength)
+ assertEq(len(salt), saltMinLength)
- var buffer [scryptSaltMinLength * 2]byte
+ var buffer [saltMinLength * 2]byte
hex.Encode(buffer[:], salt)
fmt.Fprintf(os.Stderr, "%s ", string(buffer[:]))
})