Changeset 52541 in vbox
- Timestamp:
- Aug 31, 2014 9:52:20 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/win/SUPHardenedVerifyImage-win.cpp
r52537 r52541 997 997 * planted by the linker when absent. In ring-0 we don't have all the 998 998 * necessary timestamp server root certificate info, so we have to allow 999 * using counter signatures unverified there. 999 * using counter signatures unverified there. Ditto for the early period 1000 * of ring-3 hardened stub execution. 1000 1001 */ 1001 1002 RTTIMESPEC ValidationTime; … … 1004 1005 uint32_t fFlags = RTCRPKCS7VERIFY_SD_F_ALWAYS_USE_SIGNING_TIME_IF_PRESENT 1005 1006 | RTCRPKCS7VERIFY_SD_F_COUNTER_SIGNATURE_SIGNING_TIME_ONLY; 1006 #if def IN_RING01007 fFlags |= RTCRPKCS7VERIFY_SD_F_USE_SIGNING_TIME_UNVERIFIED;1007 #ifndef IN_RING0 1008 if (!g_fHaveOtherRoots) 1008 1009 #endif 1010 fFlags |= RTCRPKCS7VERIFY_SD_F_USE_SIGNING_TIME_UNVERIFIED; 1009 1011 return RTCrPkcs7VerifySignedData(pContentInfo, fFlags, g_hSpcAndNtKernelSuppStore, g_hSpcAndNtKernelRootStore, 1010 1012 &ValidationTime, supHardNtViCertVerifyCallback, pNtViRdr, pErrInfo);
Note:
See TracChangeset
for help on using the changeset viewer.