diff options
Diffstat (limited to 'tests/fuzz')
-rw-r--r-- | tests/fuzz/api/scrypt.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/fuzz/api/scrypt.go b/tests/fuzz/api/scrypt.go index 8e785a5..c037add 100644 --- a/tests/fuzz/api/scrypt.go +++ b/tests/fuzz/api/scrypt.go @@ -14,7 +14,11 @@ func api(f *testing.F) { return } - _, err := Hash(password, salt) + input := HashInput{ + Password: password, + Salt: salt, + } + _, err := Hash(input) if err != nil { t.Errorf("Failed on: %#v\n", err) } |