Type safety for rsa-tfm.c

This commit is contained in:
Asanka Herath
2010-06-02 21:14:07 -04:00
parent ccc5fa16b1
commit e512f5e826
2 changed files with 2 additions and 2 deletions

View File

@@ -408,7 +408,7 @@ imath_rsa_private_decrypt(int flen, const unsigned char* from,
{
unsigned char *ptr;
mp_result res;
size_t size;
int size;
mpz_t in, out, n, e, b, bi;
int blinding = (rsa->flags & RSA_FLAG_NO_BLINDING) == 0;
int do_unblind = 0;

View File

@@ -321,7 +321,7 @@ tfm_rsa_private_decrypt(int flen, const unsigned char* from,
{
unsigned char *ptr;
int res;
size_t size;
int size;
fp_int in, out, n, e;
if (padding != RSA_PKCS1_PADDING)