Blame SOURCES/rhbz-1414535.patch
|
|
5b75f5 |
diff -up ./CertVerifier.cpp.ignoreBuiltinStatus ./CertVerifier.cpp
|
|
|
5b75f5 |
--- ./security/certverifier/CertVerifier.cpp.ignoreBuiltinStatus 2016-10-31 21:15:28.000000000 +0100
|
|
|
5b75f5 |
+++ ./security/certverifier/CertVerifier.cpp 2016-12-16 21:35:32.155105623 +0100
|
|
|
5b75f5 |
@@ -65,6 +65,9 @@ InitCertVerifierLog()
|
|
|
5b75f5 |
Result
|
|
|
5b75f5 |
IsCertChainRootBuiltInRoot(const UniqueCERTCertList& chain, bool& result)
|
|
|
5b75f5 |
{
|
|
|
5b75f5 |
+ result = false;
|
|
|
5b75f5 |
+ return Success;
|
|
|
5b75f5 |
+#if 0
|
|
|
5b75f5 |
if (!chain || CERT_LIST_EMPTY(chain)) {
|
|
|
5b75f5 |
return Result::FATAL_ERROR_LIBRARY_FAILURE;
|
|
|
5b75f5 |
}
|
|
|
5b75f5 |
@@ -77,12 +80,15 @@ IsCertChainRootBuiltInRoot(const UniqueC
|
|
|
5b75f5 |
return Result::FATAL_ERROR_LIBRARY_FAILURE;
|
|
|
5b75f5 |
}
|
|
|
5b75f5 |
return IsCertBuiltInRoot(root, result);
|
|
|
5b75f5 |
+#endif
|
|
|
5b75f5 |
}
|
|
|
5b75f5 |
|
|
|
5b75f5 |
Result
|
|
|
5b75f5 |
IsCertBuiltInRoot(CERTCertificate* cert, bool& result)
|
|
|
5b75f5 |
{
|
|
|
5b75f5 |
result = false;
|
|
|
5b75f5 |
+ return Success;
|
|
|
5b75f5 |
+#if 0
|
|
|
5b75f5 |
#ifdef DEBUG
|
|
|
5b75f5 |
nsCOMPtr<nsINSSComponent> component(do_GetService(PSM_COMPONENT_CONTRACTID));
|
|
|
5b75f5 |
if (!component) {
|
|
|
5b75f5 |
@@ -114,6 +120,7 @@ IsCertBuiltInRoot(CERTCertificate* cert,
|
|
|
5b75f5 |
}
|
|
|
5b75f5 |
}
|
|
|
5b75f5 |
return Success;
|
|
|
5b75f5 |
+#endif
|
|
|
5b75f5 |
}
|
|
|
5b75f5 |
|
|
|
5b75f5 |
static Result
|