Commit ba992607 authored by Pier Angelo Vendrame's avatar Pier Angelo Vendrame 🎃
Browse files

fixup! TB 23247: Communicating security expectations for .onion

TB 42065: Self-signed onion certs are detected as a user exception.
parent 3daa2bd1
Loading
Loading
Loading
Loading
Loading
+0 −1
Changes for security/manager/ssl/SSLServerCertVerification.cpp: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -284,7 +284,6 @@ CategorizeCertificateError(PRErrorCode certificateError) {
    case mozilla::pkix::MOZILLA_PKIX_ERROR_NOT_YET_VALID_ISSUER_CERTIFICATE:
    case mozilla::pkix::MOZILLA_PKIX_ERROR_SELF_SIGNED_CERT:
    case mozilla::pkix::MOZILLA_PKIX_ERROR_V1_CERT_USED_AS_CA:
    case mozilla::pkix::MOZILLA_PKIX_ERROR_ONION_WITH_SELF_SIGNED_CERT:
      return Some(
          nsITransportSecurityInfo::OverridableErrorCategory::ERROR_TRUST);