Skip to content

Commit 5efc335

Browse files
committed
Renamed variable
1 parent 86a7ae3 commit 5efc335

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/dkimVerifier.jsm.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1259,7 +1259,7 @@ var Verifier = (function() {
12591259
selector : DKIMSignature.s,
12601260
warnings : DKIMSignature.warnings,
12611261
keySecure : DKIMSignature.keyQueryResult.secure,
1262-
algorithmSignature : DKIMSignature.a_sig
1262+
sigAlgo : DKIMSignature.a_sig
12631263
};
12641264
return verification_result;
12651265
}
@@ -1592,11 +1592,11 @@ var that = {
15921592

15931593
function algo_compare(sig1, sig2) {
15941594
// prefer ed25519 over rsa
1595-
if (sig1.algorithmSignature === sig2.algorithmSignature) {
1595+
if (sig1.sigAlgo === sig2.sigAlgo) {
15961596
// both algorithms are equal
15971597
return 0;
15981598
}
1599-
if (sig1.algorithmSignature === "ed25519") {
1599+
if (sig1.sigAlgo === "ed25519") {
16001600
// there are only ed25519 and rsa allowed, so sig2.a is rsa
16011601
return -1;
16021602
}

0 commit comments

Comments
 (0)