Delete signature object reference check logic in checkList() 08/66908/1 accepted/tizen/common/20160422.171918 accepted/tizen/ivi/20160422.070322 accepted/tizen/mobile/20160422.070441 accepted/tizen/tv/20160422.070301 accepted/tizen/wearable/20160422.070239 submit/tizen/20160422.032651
authorsangwan.kwon <sangwan.kwon@samsung.com>
Fri, 22 Apr 2016 03:18:01 +0000 (12:18 +0900)
committersangwan.kwon <sangwan.kwon@samsung.com>
Fri, 22 Apr 2016 03:18:01 +0000 (12:18 +0900)
* checkList() is check only modified references.
* so, checkObjectReferences() should be process only check()

Change-Id: Iaaeb4948d03e4203c0a00513d6c7583aa3427b49

vcore/vcore/SignatureValidator.cpp

index 64e0fd3..e3220a4 100644 (file)
@@ -414,12 +414,6 @@ VCerr SignatureValidator::Impl::baseCheckList(
                else
                        XmlSecSingleton::Instance().validatePartialHash(m_context, uriList);
 
-               m_data.setReference(m_context.referenceSet);
-               if (!checkObjectReferences()) {
-                       LogWarning("Failed to check Object References");
-                       return E_SIG_INVALID_REF;
-               }
-
                if (checkOcsp && Ocsp::check(m_data) == Ocsp::Result::REVOKED) {
                        LogError("Certificate is Revoked by OCSP server.");
                        return E_SIG_REVOKED;