Skip to content

Commit 206d71e

Browse files
committed
fix pbkdf2, thanks @caedesvvv
1 parent ca99e15 commit 206d71e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pbkdf2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module.exports = function (createHmac, exports) {
1515
if('function' !== typeof callback)
1616
throw new Error('No callback provided to pbkdf2');
1717
setTimeout(function () {
18-
cb(null, exports.pbkdf2(password, salt, iterations, keylen))
18+
cb(null, exports.pbkdf2Sync(password, salt, iterations, keylen))
1919
})
2020
}
2121

0 commit comments

Comments
 (0)