Commit 0444cd93 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

crypt32: Don't dereference an output pointer which may be NULL.

parent 1740d9fe
......@@ -899,6 +899,7 @@ BOOL WINAPI CertAddCertificateContextToStore(HCERTSTORE hCertStore,
if (existing)
{
CertContext_CopyProperties(existing, pCertContext);
if (ppStoreContext)
*ppStoreContext = CertDuplicateCertificateContext(existing);
}
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment