Removed dynamic CI experiments that do not work, possibly due to Patch Guard

This commit is contained in:
2023-07-03 20:44:12 +02:00
parent aa77523f3a
commit 6e2fd257c0
4 changed files with 12 additions and 239 deletions

View File

@ -356,6 +356,7 @@ typedef struct _MINCRYPT_POLICY_INFO
#include <poppack.h>
/**
* Resets a PolicyInfo struct - frees the dynamically allocated buffer in PolicyInfo (ChainInfo) if not null.
* Zeros the entire PolicyInfo struct.
@ -365,7 +366,7 @@ typedef struct _MINCRYPT_POLICY_INFO
* @return the struct which was reset.
*/
_IRQL_requires_max_(PASSIVE_LEVEL)
EXTERN_C
MINCRYPTAPI
PVOID
NTAPI
CiFreePolicyInfo(
@ -402,7 +403,7 @@ CiFreePolicyInfo(
* STATUS_IMAGE_CERT_EXPIRED - the certificate used for signing the file has expired
*/
_IRQL_requires_max_(PASSIVE_LEVEL)
EXTERN_C
MINCRYPTAPI
NTSTATUS
NTAPI
CiCheckSignedFile(
@ -451,7 +452,7 @@ CiCheckSignedFile(
* STATUS_IMAGE_CERT_EXPIRED - the certificate used for signing the file has expired
*/
_IRQL_requires_max_(PASSIVE_LEVEL)
EXTERN_C
MINCRYPTAPI
NTSTATUS
NTAPI
CiVerifyHashInCatalog(
@ -492,7 +493,7 @@ typedef MINCRYPT_ALLOCATE_ROUTINE* PMINCRYPT_ALLOCATE_ROUTINE;
*
* @return buffer length.
*/
EXTERN_C
MINCRYPTAPI
NTSTATUS
NTAPI
CiGetCertPublisherName(
@ -502,7 +503,7 @@ CiGetCertPublisherName(
);
EXTERN_C
MINCRYPTAPI
VOID
NTAPI
CiSetTrustedOriginClaimId(
@ -538,7 +539,7 @@ CiSetTrustedOriginClaimId(
* STATUS_IMAGE_CERT_EXPIRED - the certificate used for signing the file has expired
*/
_IRQL_requires_max_(PASSIVE_LEVEL)
EXTERN_C
MINCRYPTAPI
NTSTATUS
NTAPI
CiValidateFileObject(
@ -555,7 +556,6 @@ CiValidateFileObject(
#endif // NTDDI_VERSION >= NTDDI_WIN10
EXTERN_C_END
#if _MSC_VER >= 1200