Skip to content

Commit

Permalink
aoeuhaosnetunashoe
Browse files Browse the repository at this point in the history
  • Loading branch information
James-E-A committed Sep 8, 2020
1 parent b6ae38c commit 2724ce2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ function identifySecType(securityInfo){
return secTypes.MITM;
} else {
//...alternative Root CA
return secTypes.aRoot;
if(certChain[certChain.length-1].fingerprint.sha256 in sha256fp_host_alt) {
return secTypes.aRootKnown;
} else {
return secTypes.aRootUnknown;
}
}
}
throw {status:'thisShouldNeverHappen',securityInfo:securityInfo};
Expand Down

0 comments on commit 2724ce2

Please sign in to comment.