Juan Lang : rsaenh: Call setup_key whenever the IV is reset.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Sep 11 07:28:45 CDT 2007


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

Author: Juan Lang <juan.lang at gmail.com>
Date:   Mon Sep 10 15:04:58 2007 -0700

rsaenh: Call setup_key whenever the IV is reset.

---

 dlls/rsaenh/rsaenh.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/rsaenh/rsaenh.c b/dlls/rsaenh/rsaenh.c
index 84cceea..ce15b4e 100644
--- a/dlls/rsaenh/rsaenh.c
+++ b/dlls/rsaenh/rsaenh.c
@@ -2707,6 +2707,7 @@ BOOL WINAPI RSAENH_CPSetKeyParam(HCRYPTPROV hProv, HCRYPTKEY hKey, DWORD dwParam
 
         case KP_IV:
             memcpy(pCryptKey->abInitVector, pbData, pCryptKey->dwBlockLen);
+            setup_key(pCryptKey);
             return TRUE;
 
         case KP_SCHANNEL_ALG:




More information about the wine-cvs mailing list