projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sync rsaenh with wine 1.1.34
[reactos.git]
/
reactos
/
dll
/
win32
/
rsaenh
/
rsaenh.c
diff --git
a/reactos/dll/win32/rsaenh/rsaenh.c
b/reactos/dll/win32/rsaenh/rsaenh.c
index
4f13c17
..
8234688
100644
(file)
--- a/
reactos/dll/win32/rsaenh/rsaenh.c
+++ b/
reactos/dll/win32/rsaenh/rsaenh.c
@@
-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 &&
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 */
BOOL padOkay = TRUE;
/* check that every bad byte has the same value */