cryptui: Inherit existing properties when importing a cert.

This commit is contained in:
Juan Lang 2008-12-22 19:01:58 -08:00 committed by Alexandre Julliard
parent 8216c07a96
commit 1accec563b

View File

@ -3463,7 +3463,7 @@ static BOOL import_cert(PCCERT_CONTEXT cert, HCERTSTORE hDestCertStore)
}
}
ret = CertAddCertificateContextToStore(store, cert,
CERT_STORE_ADD_REPLACE_EXISTING, NULL);
CERT_STORE_ADD_REPLACE_EXISTING_INHERIT_PROPERTIES, NULL);
if (!hDestCertStore) CertCloseStore(store, 0);
return ret;
}