rsaenh: Fix a typo in a comment.
Signed-off-by: Haoyang Chen <chenhaoyang@uniontech.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8a506ea9b2
commit
0a07652420
|
@ -2695,7 +2695,7 @@ BOOL WINAPI RSAENH_CPDecrypt(HCRYPTPROV hProv, HCRYPTKEY hKey, HCRYPTHASH hHash,
|
||||||
pbData[*pdwDataLen-1] <= *pdwDataLen) {
|
pbData[*pdwDataLen-1] <= *pdwDataLen) {
|
||||||
BOOL padOkay = TRUE;
|
BOOL padOkay = TRUE;
|
||||||
|
|
||||||
/* check that every bad byte has the same value */
|
/* check that every pad byte has the same value */
|
||||||
for (i = 1; padOkay && i < pbData[*pdwDataLen-1]; i++)
|
for (i = 1; padOkay && i < pbData[*pdwDataLen-1]; i++)
|
||||||
if (pbData[*pdwDataLen - i - 1] != pbData[*pdwDataLen - 1])
|
if (pbData[*pdwDataLen - i - 1] != pbData[*pdwDataLen - 1])
|
||||||
padOkay = FALSE;
|
padOkay = FALSE;
|
||||||
|
|
Loading…
Reference in New Issue