VirtualBox

Changeset 51970 in vbox


Ignore:
Timestamp:
Jul 10, 2014 1:12:43 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
94888
Message:

SUP: More image verifier init fixes.

Location:
trunk/src/VBox/HostDrivers/Support/win
Files:
2 edited

Legend:

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

    r51860 r51970  
    834834    if (pfCacheable)
    835835        *pfCacheable = false;
     836
     837#ifdef IN_RING3
     838    /* Check that the caller has performed the necessary library initialization. */
     839    if (RTCrX509Certificate_IsPresent(&g_BuildX509Cert))
     840        return RTErrInfoSet(pErrInfo, VERR_WRONG_ORDER,
     841                            "supHardenedWinVerifyImageByHandle: supHardenedWinInitImageVerifier was not called.");
     842#endif
    836843
    837844    /*
  • trunk/src/VBox/HostDrivers/Support/win/SUPLib-win.cpp

    r51969 r51970  
    9191    if (RT_FAILURE(rc))
    9292        return rc;
     93    supR3HardenedWinResolveVerifyTrustApiAndHookThreadCreation();
    9394#endif
    9495
Note: See TracChangeset for help on using the changeset viewer.

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