Skip to content

Commit

Permalink
Merge pull request #12 from cintolas/master
Browse files Browse the repository at this point in the history
Added missing var declaration
  • Loading branch information
juhoen authored Sep 12, 2018
2 parents 136e725 + e13a12d commit d2442b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/crypt.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,9 @@ class Crypt {
}

_entropy(input) {
bytes = forge.util.encodeUtf8(String(input));
var bytes = forge.util.encodeUtf8(String(input));
forge.random.collect(bytes);
}
}

module.exports = Crypt;
module.exports = Crypt;

0 comments on commit d2442b7

Please sign in to comment.