crypt32: Fix CertAddCTLContextToStore for CERT_STORE_ADD_USE_EXISTING add disposition.
This commit is contained in:
parent
c7609f3c55
commit
7a610a9072
|
@ -113,7 +113,13 @@ BOOL WINAPI CertAddCTLContextToStore(HCERTSTORE hCertStore,
|
|||
break;
|
||||
case CERT_STORE_ADD_USE_EXISTING:
|
||||
if (existing)
|
||||
{
|
||||
CtlContext_CopyProperties(existing, pCtlContext);
|
||||
if (ppStoreContext)
|
||||
*ppStoreContext = CertDuplicateCTLContext(existing);
|
||||
}
|
||||
else
|
||||
toAdd = CertDuplicateCTLContext(pCtlContext);
|
||||
break;
|
||||
default:
|
||||
FIXME("Unimplemented add disposition %d\n", dwAddDisposition);
|
||||
|
|
Loading…
Reference in New Issue