Juan Lang : crypt32: Switch to use the AES provider by default.

Alexandre Julliard julliard at winehq.org
Tue Mar 16 11:49:13 CDT 2010


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

Author: Juan Lang <juan.lang at gmail.com>
Date:   Mon Mar  8 12:16:55 2010 -0800

crypt32: Switch to use the AES provider by default.

---

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

diff --git a/dlls/crypt32/main.c b/dlls/crypt32/main.c
index 5844b18..db9dc1a 100644
--- a/dlls/crypt32/main.c
+++ b/dlls/crypt32/main.c
@@ -64,8 +64,8 @@ HCRYPTPROV CRYPT_GetDefaultProvider(void)
     {
         HCRYPTPROV prov;
 
-        if (!CryptAcquireContextW(&prov, NULL, MS_ENHANCED_PROV_W, PROV_RSA_FULL,
-         CRYPT_VERIFYCONTEXT))
+        if (!CryptAcquireContextW(&prov, NULL, MS_ENH_RSA_AES_PROV_W,
+         PROV_RSA_AES, CRYPT_VERIFYCONTEXT))
             return hDefProv;
         InterlockedCompareExchangePointer((PVOID *)&hDefProv, (PVOID)prov,
          NULL);




More information about the wine-cvs mailing list