OSDN Git Service

Fix bugs of process protection.
[ffftp/ffftp.git] / protectprocess.c
index ee5f1c3..74e357e 100644 (file)
@@ -980,6 +980,8 @@ BOOL InitializeLoadLibraryHook()
                bResult = FALSE;\r
        if(!(GET_FUNCTION(hModule, CryptCATAdminCalcHashFromFileHandle)))\r
                bResult = FALSE;\r
+       // バグ対策\r
+       ImageGetDigestStream(NULL, 0, NULL, NULL);\r
        return bResult;\r
 }\r
 \r