Skip to content

Commit

Permalink
Merge pull request kjur#410 from JuanJMarques/master
Browse files Browse the repository at this point in the history
sig -> var sig
  • Loading branch information
kjur authored Apr 13, 2020
2 parents 1f7ab45 + c5130f6 commit 1276083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/asn1csr-1.0.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ KJUR.asn1.csr.CertificationRequest = function(params) {
this.asn1SignatureAlg =
new _KJUR_asn1_x509.AlgorithmIdentifier({'name': sigAlgName});

sig = new _KJUR.crypto.Signature({'alg': sigAlgName});
var sig = new _KJUR.crypto.Signature({'alg': sigAlgName});
sig.init(this.prvKey);
sig.updateHex(this.asn1CSRInfo.getEncodedHex());
this.hexSig = sig.sign();
Expand Down

0 comments on commit 1276083

Please sign in to comment.