crypt32: Fix CertAddCRLContextToStore for CERT_STORE_ADD_USE_EXISTING add disposition.

oldstable
Juan Lang 2009-12-10 09:06:10 -08:00 committed by Alexandre Julliard
parent 0444cd93c4
commit c7609f3c55
1 changed files with 6 additions and 0 deletions

View File

@ -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);