Commit 5666efb1 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

rsaenh: Call setup_key whenever the IV is reset.

parent 16c40d91
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment