VirtualBox

Changeset 52541 in vbox


Ignore:
Timestamp:
Aug 31, 2014 9:52:20 PM (10 years ago)
Author:
vboxsync
Message:

fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/win/SUPHardenedVerifyImage-win.cpp

    r52537 r52541  
    997997     * planted by the linker when absent.  In ring-0 we don't have all the
    998998     * 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.
    10001001     */
    10011002    RTTIMESPEC ValidationTime;
     
    10041005    uint32_t fFlags = RTCRPKCS7VERIFY_SD_F_ALWAYS_USE_SIGNING_TIME_IF_PRESENT
    10051006                    | RTCRPKCS7VERIFY_SD_F_COUNTER_SIGNATURE_SIGNING_TIME_ONLY;
    1006 #ifdef IN_RING0
    1007     fFlags |= RTCRPKCS7VERIFY_SD_F_USE_SIGNING_TIME_UNVERIFIED;
     1007#ifndef IN_RING0
     1008    if (!g_fHaveOtherRoots)
    10081009#endif
     1010        fFlags |= RTCRPKCS7VERIFY_SD_F_USE_SIGNING_TIME_UNVERIFIED;
    10091011    return RTCrPkcs7VerifySignedData(pContentInfo, fFlags, g_hSpcAndNtKernelSuppStore, g_hSpcAndNtKernelRootStore,
    10101012                                     &ValidationTime, supHardNtViCertVerifyCallback, pNtViRdr, pErrInfo);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette