Author: cwittich
Date: Sun Dec 6 10:41:08 2009
New Revision: 44434
URL:
http://svn.reactos.org/svn/reactos?rev=44434&view=rev
Log:
sync rsaenh with wine 1.1.34
Modified:
trunk/reactos/dll/win32/rsaenh/rsaenh.c
Modified: trunk/reactos/dll/win32/rsaenh/rsaenh.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/rsaenh/rsaenh.c?…
==============================================================================
--- trunk/reactos/dll/win32/rsaenh/rsaenh.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/rsaenh/rsaenh.c [iso-8859-1] Sun Dec 6 10:41:08 2009
@@ -2324,7 +2324,7 @@
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 */