diff --git a/dlls/crypt32/store.c b/dlls/crypt32/store.c index 9d670f9ea8..153d3aa71e 100644 --- a/dlls/crypt32/store.c +++ b/dlls/crypt32/store.c @@ -1091,7 +1091,13 @@ BOOL WINAPI CertAddCRLContextToStore(HCERTSTORE hCertStore, break; case CERT_STORE_ADD_USE_EXISTING: if (existing) + { CrlContext_CopyProperties(existing, pCrlContext); + if (ppStoreContext) + *ppStoreContext = CertDuplicateCRLContext(existing); + } + else + toAdd = CertDuplicateCRLContext(pCrlContext); break; default: FIXME("Unimplemented add disposition %d\n", dwAddDisposition);