Juan Lang : cryptui: Inherit existing properties when importing a cert.

Alexandre Julliard julliard at winehq.org
Tue Dec 23 13:41:11 CST 2008


Module: wine
Branch: master
Commit: 1accec563b6c648299c1fd7ea5484afd6299c3b6
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1accec563b6c648299c1fd7ea5484afd6299c3b6

Author: Juan Lang <juan.lang at gmail.com>
Date:   Mon Dec 22 19:01:58 2008 -0800

cryptui: Inherit existing properties when importing a cert.

---

 dlls/cryptui/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/cryptui/main.c b/dlls/cryptui/main.c
index 8a1b149..a21f9c5 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;
 }




More information about the wine-cvs mailing list