Skip to content

Commit

Permalink
lib: pass pers to drbg from ec.sign
Browse files Browse the repository at this point in the history
  • Loading branch information
fanatid committed Jan 20, 2016
1 parent b465fea commit 8ff6c15
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/elliptic/ec/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ EC.prototype.sign = function sign(msg, key, enc, options) {
var drbg = new elliptic.hmacDRBG({
hash: this.hash,
entropy: bkey,
nonce: nonce
nonce: nonce,
pers: options.pers
});

// Number of bytes to generate
Expand Down

0 comments on commit 8ff6c15

Please sign in to comment.