Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ tape('hex encoding', function (t) {
tape('call digest for more than MAX_UINT32 bits of data', function (t) {
var _hash = crypto.createHash('sha1')
var hash = new Sha1()
var bigData = Buffer.alloc(0x1ffffffff / 8)
var bigData = Buffer.alloc(0x1fffffff8 / 8)

hash.update(bigData)
_hash.update(bigData)
Expand Down