Merge pull request #2142 from ejohnstown/typecast-add

Add Typecasts
This commit is contained in:
Sean Parkinson
2019-03-06 16:21:20 +10:00
committed by GitHub

View File

@ -2499,7 +2499,7 @@ static int RsaPrivateDecryptEx(byte* in, word32 inLen, byte* out,
c = ctMaskGTE(j, start);
c &= ctMaskLT(i, outLen);
/* 0 - no add, -1 add */
i += -c;
i += (word32)((byte)(-c));
}
#else
XMEMCPY(out, pad, ret);