mirror of
https://github.com/reactos/reactos.git
synced 2024-08-28 22:28:36 +00:00
sync rsaenh with wine 1.1.34
svn path=/trunk/; revision=44434
This commit is contained in:
parent
163ce9095f
commit
01be408c18
|
@ -2324,7 +2324,7 @@ BOOL WINAPI RSAENH_CPDecrypt(HCRYPTPROV hProv, HCRYPTKEY hKey, HCRYPTHASH hHash,
|
|||
if (Final) {
|
||||
if (pbData[*pdwDataLen-1] &&
|
||||
pbData[*pdwDataLen-1] <= pCryptKey->dwBlockLen &&
|
||||
pbData[*pdwDataLen-1] < *pdwDataLen) {
|
||||
pbData[*pdwDataLen-1] <= *pdwDataLen) {
|
||||
BOOL padOkay = TRUE;
|
||||
|
||||
/* check that every bad byte has the same value */
|
||||
|
|
Loading…
Reference in a new issue