Changeset 89018 in vbox for trunk/src/VBox/HostDrivers
- Timestamp:
- May 12, 2021 4:28:56 PM (4 years ago)
- Location:
- trunk/src/VBox/HostDrivers/Support
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/Makefile.kmk
r88587 r89018 635 635 if defined(VBOX_WITH_DARWIN_R0_DARWIN_IMAGE_VERIFICATION) && defined(VBOX_SIGNING_MODE) 636 636 VBoxDrv_DEFS.darwin += VBOX_WITH_DARWIN_R0_DARWIN_IMAGE_VERIFICATION 637 ifeq ($(VBOX_SIGNING_MODE),test) 638 VBoxDrv_DEFS.darwin += VBOX_WITH_DARWIN_R0_TEST_SIGN 639 endif 637 640 endif 638 641 ifdef VBOX_WITH_NETFLT -
trunk/src/VBox/HostDrivers/Support/darwin/SUPDrv-darwin.cpp
r87700 r89018 1320 1320 uint32_t cDevIdApp = 0; 1321 1321 uint32_t cDevIdKext = 0; 1322 uint32_t cDevIdMacDev = 0; 1322 1323 for (uint32_t i = 0; i < pCert->TbsCertificate.T3.Extensions.cItems; i++) 1323 1324 { … … 1337 1338 "Dev ID kext certificate extension is not flagged critical"); 1338 1339 } 1339 } 1340 else if (RTAsn1ObjId_CompareWithString(&pExt->ExtnId, RTCR_APPLE_CS_DEVID_MAC_SW_DEV_OID) == 0) 1341 { 1342 cDevIdMacDev++; 1343 if (!pExt->Critical.fValue) 1344 rc = RTErrInfoSetF(pErrInfo, VERR_GENERAL_FAILURE, 1345 "Dev ID MAC SW dev certificate extension is not flagged critical"); 1346 } 1347 } 1348 # ifdef VBOX_WITH_DARWIN_R0_TEST_SIGN 1349 /* 1350 * Mac application software development certs do not have the usually required extensions. 1351 */ 1352 if (cDevIdMacDev) 1353 { 1354 cDevIdApp++; 1355 cDevIdKext++; 1356 } 1357 # endif 1340 1358 if (cDevIdApp == 0) 1341 1359 rc = RTErrInfoSetF(pErrInfo, VERR_GENERAL_FAILURE,
Note:
See TracChangeset
for help on using the changeset viewer.