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