Commit 43e12213 authored by Alex Catarineu's avatar Alex Catarineu
Browse files

fixup! Bug 23247: Communicating security expectations for .onion

Fixes 40172: Security UI not updated for non-https .onion pages
parent 572a39fa
...@@ -144,6 +144,10 @@ var IdentityHandler = { ...@@ -144,6 +144,10 @@ var IdentityHandler = {
result.host = uri.host; result.host = uri.host;
} }
if (!aBrowser.securityUI.secInfo) {
return result;
}
const cert = aBrowser.securityUI.secInfo.serverCert; const cert = aBrowser.securityUI.secInfo.serverCert;
result.certificate = aBrowser.securityUI.secInfo.serverCert.getBase64DERString(); result.certificate = aBrowser.securityUI.secInfo.serverCert.getBase64DERString();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment