File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1259,7 +1259,7 @@ var Verifier = (function() {
1259
1259
selector : DKIMSignature . s ,
1260
1260
warnings : DKIMSignature . warnings ,
1261
1261
keySecure : DKIMSignature . keyQueryResult . secure ,
1262
- algorithmSignature : DKIMSignature . a_sig
1262
+ sigAlgo : DKIMSignature . a_sig
1263
1263
} ;
1264
1264
return verification_result ;
1265
1265
}
@@ -1592,11 +1592,11 @@ var that = {
1592
1592
1593
1593
function algo_compare ( sig1 , sig2 ) {
1594
1594
// prefer ed25519 over rsa
1595
- if ( sig1 . algorithmSignature === sig2 . algorithmSignature ) {
1595
+ if ( sig1 . sigAlgo === sig2 . sigAlgo ) {
1596
1596
// both algorithms are equal
1597
1597
return 0 ;
1598
1598
}
1599
- if ( sig1 . algorithmSignature === "ed25519" ) {
1599
+ if ( sig1 . sigAlgo === "ed25519" ) {
1600
1600
// there are only ed25519 and rsa allowed, so sig2.a is rsa
1601
1601
return - 1 ;
1602
1602
}
You can’t perform that action at this time.
0 commit comments