From 5666efb1374bb0a1e7f9d92614f9c6956ac9eca3 Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Mon, 10 Sep 2007 15:04:58 -0700 Subject: [PATCH] rsaenh: Call setup_key whenever the IV is reset. --- dlls/rsaenh/rsaenh.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/rsaenh/rsaenh.c b/dlls/rsaenh/rsaenh.c index 84cceea3ab..ce15b4e4f4 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: -- 2.32.0.93.g670b81a890