Changeset 74692 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Oct 8, 2018 6:48:31 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 125610
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/asn1/oiddb.cfg
r69434 r74692 83 83 1.2.840.113549.1.9.16.2 = pkcs9-SMime-id-aa 84 84 1.2.840.113549.1.9.16.2.12 = pkcs9-id-aa-SigningCertificate 85 1.2.840.113549.1.9.16.2.14 = pkcs9-id-aa-Attributes 85 86 1.2.840.113549.1.9.25 = pkcs9-SMime-at 86 87 1.2.840.113549.1.9.25.1 = pkcs9-at-Pkcs15Token … … 89 90 1.2.840.113549.1.9.25.4 = pkcs9-at-SequenceNumber 90 91 1.2.840.113549.1.9.25.5 = pkcs9-at-Pkcs7PDU 92 1.2.840.113635.100.6.1.13 = apple-cs-ext-DevId-Application 93 1.2.840.113635.100.6.1.14 = apple-cs-ext-DevId-Installer 94 1.2.840.113635.100.6.1.18 = apple-cs-ext-DevId-KernelExt 95 1.2.840.113635.100.5.1 = apple-cert-policy 96 1.2.840.113635.100.4.13 = apple-eku-packageSign 97 #1.2.840.113635.100.9.1 = apple-??? 91 98 1.3.6 = dod 92 99 1.3.6.1 = dod-Internet -
trunk/src/VBox/Runtime/tools/RTSignTool.cpp
r74672 r74692 86 86 /** Pointer to the decoded SignedData inside the ContentInfo member. */ 87 87 PRTCRPKCS7SIGNEDDATA pSignedData; 88 /** Pointer to the indirect data content. */89 PRTCRSPCINDIRECTDATACONTENT pIndData;90 88 91 89 /** Newly encoded raw signature. … … 143 141 { 144 142 RTCrPkcs7ContentInfo_Delete(&pThis->ContentInfo); 145 pThis->pIndData = NULL;146 143 pThis->pSignedData = NULL; 147 pThis->pIndData = NULL;148 144 RTMemFree(pThis->pbBuf); 149 145 pThis->pbBuf = NULL; … … 199 195 if (!strcmp(pThis->pSignedData->ContentInfo.ContentType.szObjId, RTCRSPCINDIRECTDATACONTENT_OID)) 200 196 { 201 pThis->pIndData = pThis->pSignedData->ContentInfo.u.pIndirectDataContent;202 Assert(p This->pIndData);197 PRTCRSPCINDIRECTDATACONTENT pIndData = pThis->pSignedData->ContentInfo.u.pIndirectDataContent; 198 Assert(pIndData); 203 199 204 200 /* … … 212 208 if (RT_SUCCESS(rc)) 213 209 { 214 rc = RTCrSpcIndirectDataContent_CheckSanityEx(p This->pIndData,210 rc = RTCrSpcIndirectDataContent_CheckSanityEx(pIndData, 215 211 pThis->pSignedData, 216 212 RTCRSPCINDIRECTDATACONTENT_SANITY_F_ONLY_KNOWN_HASH, … … 223 219 RTMsgError("PKCS#7 sanity check failed for '%s': %Rrc - %s\n", pThis->pszFilename, rc, ErrInfo.szMsg); 224 220 } 221 else if (!strcmp(pThis->pSignedData->ContentInfo.ContentType.szObjId, RTCR_PKCS7_DATA_OID)) 222 { /* apple code signing */ } 225 223 else if (!fCatalog) 226 224 RTMsgError("Unexpected the signed content in '%s': %s (expected %s)", pThis->pszFilename,
Note:
See TracChangeset
for help on using the changeset viewer.