forked from Mirrors/wine-wine
crypt32: Fix CertAddCRLContextToStore for CERT_STORE_ADD_USE_EXISTING add disposition.
parent
0444cd93c4
commit
c7609f3c55
|
@ -1091,7 +1091,13 @@ BOOL WINAPI CertAddCRLContextToStore(HCERTSTORE hCertStore,
|
||||||
break;
|
break;
|
||||||
case CERT_STORE_ADD_USE_EXISTING:
|
case CERT_STORE_ADD_USE_EXISTING:
|
||||||
if (existing)
|
if (existing)
|
||||||
|
{
|
||||||
CrlContext_CopyProperties(existing, pCrlContext);
|
CrlContext_CopyProperties(existing, pCrlContext);
|
||||||
|
if (ppStoreContext)
|
||||||
|
*ppStoreContext = CertDuplicateCRLContext(existing);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
toAdd = CertDuplicateCRLContext(pCrlContext);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
FIXME("Unimplemented add disposition %d\n", dwAddDisposition);
|
FIXME("Unimplemented add disposition %d\n", dwAddDisposition);
|
||||||
|
|
Loading…
Reference in New Issue