mirror of
https://github.com/reactos/reactos.git
synced 2025-01-04 21:38:43 +00:00
[CRYPTDLG] [CRYPTDLL] [CRYPTUI]
* Sync with Wine 1.5.26. svn path=/trunk/; revision=58721
This commit is contained in:
parent
71e8bf218c
commit
63b8350830
4 changed files with 9 additions and 16 deletions
|
@ -278,7 +278,7 @@ static HCERTCHAINENGINE CRYPTDLG_MakeEngine(CERT_VERIFY_CERTIFICATE_TRUST *cert)
|
|||
{
|
||||
trust = CertOpenStore(CERT_STORE_PROV_COLLECTION, 0, 0,
|
||||
CERT_STORE_CREATE_NEW_FLAG, NULL);
|
||||
if (root)
|
||||
if (trust)
|
||||
{
|
||||
for (i = 0; i < cert->cTrustStores; i++)
|
||||
CertAddStoreToCollection(trust, cert->rghstoreTrust[i], 0, 0);
|
||||
|
|
|
@ -27,8 +27,6 @@
|
|||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(cryptdll);
|
||||
|
||||
static HMODULE CRYPTDLL_hModule;
|
||||
|
||||
BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
||||
{
|
||||
TRACE("%p,%x,%p\n", hinstDLL, fdwReason, lpvReserved);
|
||||
|
@ -39,7 +37,6 @@ BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
|||
case DLL_PROCESS_ATTACH:
|
||||
{
|
||||
DisableThreadLibraryCalls(hinstDLL);
|
||||
CRYPTDLL_hModule = hinstDLL;
|
||||
break;
|
||||
}
|
||||
case DLL_PROCESS_DETACH:
|
||||
|
|
|
@ -299,7 +299,7 @@ static CERT_ENHKEY_USAGE *convert_usages_str_to_usage(LPSTR usageStr)
|
|||
{
|
||||
if (comma)
|
||||
*comma = 0;
|
||||
add_oid_to_usage(usage, ptr);
|
||||
usage = add_oid_to_usage(usage, ptr);
|
||||
}
|
||||
}
|
||||
return usage;
|
||||
|
@ -327,7 +327,7 @@ static CERT_ENHKEY_USAGE *create_advanced_filter(void)
|
|||
{
|
||||
PCCRYPT_OID_INFO *ptr;
|
||||
|
||||
for (ptr = usages; *ptr; ptr++)
|
||||
for (ptr = usages; advancedUsage && *ptr; ptr++)
|
||||
{
|
||||
DWORD i;
|
||||
BOOL disabled = FALSE;
|
||||
|
@ -338,7 +338,7 @@ static CERT_ENHKEY_USAGE *create_advanced_filter(void)
|
|||
(*ptr)->pszOID))
|
||||
disabled = TRUE;
|
||||
if (!disabled)
|
||||
add_oid_to_usage(advancedUsage,
|
||||
advancedUsage = add_oid_to_usage(advancedUsage,
|
||||
(LPSTR)(*ptr)->pszOID);
|
||||
}
|
||||
/* The individual strings are pointers to disabledUsagesStr,
|
||||
|
@ -1808,7 +1808,6 @@ static void add_icon_to_control(HWND hwnd, int id)
|
|||
DWORD conn;
|
||||
LPDATAOBJECT dataObject = NULL;
|
||||
HBITMAP bitmap = NULL;
|
||||
RECT rect;
|
||||
STGMEDIUM stgm;
|
||||
LPOLECLIENTSITE clientSite = NULL;
|
||||
REOBJECT reObject;
|
||||
|
@ -1847,9 +1846,6 @@ static void add_icon_to_control(HWND hwnd, int id)
|
|||
LR_DEFAULTSIZE | LR_LOADTRANSPARENT);
|
||||
if (!bitmap)
|
||||
goto end;
|
||||
rect.left = rect.top = 0;
|
||||
rect.right = GetSystemMetrics(SM_CXICON);
|
||||
rect.bottom = GetSystemMetrics(SM_CYICON);
|
||||
stgm.tymed = TYMED_GDI;
|
||||
stgm.u.hBitmap = bitmap;
|
||||
stgm.pUnkForRelease = NULL;
|
||||
|
@ -2844,7 +2840,7 @@ static const struct v1_field v1_fields[] = {
|
|||
|
||||
static void add_v1_fields(HWND hwnd, struct detail_data *data)
|
||||
{
|
||||
int i;
|
||||
unsigned int i;
|
||||
PCCERT_CONTEXT cert = data->pCertViewInfo->pCertContext;
|
||||
|
||||
/* The last item in v1_fields is the public key, which is not in the loop
|
||||
|
@ -3776,7 +3772,7 @@ static void show_edit_cert_properties_dialog(HWND parent,
|
|||
|
||||
static void free_detail_fields(struct detail_data *data)
|
||||
{
|
||||
DWORD i;
|
||||
int i;
|
||||
|
||||
for (i = 0; i < data->cFields; i++)
|
||||
HeapFree(GetProcessHeap(), 0, data->fields[i].detailed_value);
|
||||
|
|
|
@ -53,10 +53,10 @@ reactos/dll/win32/comdlg32 # Synced to Wine 1.3.37
|
|||
reactos/dll/win32/compstui # Synced to Wine-1.5.19
|
||||
reactos/dll/win32/credui # Synced to Wine-1.5.4
|
||||
reactos/dll/win32/crypt32 # Synced to Wine-1.5.26
|
||||
reactos/dll/win32/cryptdlg # Synced to Wine-1.5.4
|
||||
reactos/dll/win32/cryptdll # Synced to Wine-1.5.4
|
||||
reactos/dll/win32/cryptdlg # Synced to Wine-1.5.26
|
||||
reactos/dll/win32/cryptdll # Synced to Wine-1.5.26
|
||||
reactos/dll/win32/cryptnet # Synced to Wine-1.5.26
|
||||
reactos/dll/win32/cryptui # Synced to Wine-1.5.4
|
||||
reactos/dll/win32/cryptui # Synced to Wine-1.5.26
|
||||
reactos/dll/win32/dbghelp # Synced to Wine-1.3.37
|
||||
reactos/dll/win32/dciman32 # Synced to Wine-1.5.19
|
||||
reactos/dll/win32/dwmapi # Synced to Wine-1.5.19
|
||||
|
|
Loading…
Reference in a new issue