diff --git a/dlls/cryptui/main.c b/dlls/cryptui/main.c index 692196c5650..b476a73ee0e 100644 --- a/dlls/cryptui/main.c +++ b/dlls/cryptui/main.c @@ -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: