cryptui: Ignore additional prop sheet pages when calling CryptUIViewCertificateW from CryptUIViewCertificateA.
This commit is contained in:
parent
dfc028b4fb
commit
29bf23108b
|
@ -59,6 +59,9 @@ BOOL WINAPI CryptUIDlgCertMgr(PCCRYPTUI_CERT_MGR_STRUCT pCryptUICertMgr)
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* CryptUIDlgViewCertificateA (CRYPTUI.@)
|
||||
*/
|
||||
BOOL WINAPI CryptUIDlgViewCertificateA(
|
||||
PCCRYPTUI_VIEWCERTIFICATE_STRUCTA pCertViewInfo, BOOL *pfPropertiesChanged)
|
||||
{
|
||||
|
@ -87,6 +90,11 @@ BOOL WINAPI CryptUIDlgViewCertificateA(
|
|||
goto error;
|
||||
}
|
||||
}
|
||||
if (pCertViewInfo->cPropSheetPages)
|
||||
{
|
||||
FIXME("ignoring additional prop sheet pages\n");
|
||||
viewInfo.cPropSheetPages = 0;
|
||||
}
|
||||
ret = CryptUIDlgViewCertificateW(&viewInfo, pfPropertiesChanged);
|
||||
HeapFree(GetProcessHeap(), 0, title);
|
||||
error:
|
||||
|
|
Loading…
Reference in New Issue