From 1accec563b6c648299c1fd7ea5484afd6299c3b6 Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Mon, 22 Dec 2008 19:01:58 -0800 Subject: [PATCH] cryptui: Inherit existing properties when importing a cert. --- dlls/cryptui/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/cryptui/main.c b/dlls/cryptui/main.c index 8a1b149f95..a21f9c557a 100644 --- a/dlls/cryptui/main.c +++ b/dlls/cryptui/main.c @@ -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; }