fix VS2008 asn.c warning, CTaoCrypt RSA test

pull/1/head
Chris Conlon 2012-11-01 11:29:11 -06:00
parent f6304ae37a
commit dc83cc6a0e
2 changed files with 2 additions and 2 deletions

View File

@ -2193,7 +2193,6 @@ static int ConfirmSignature(const byte* buf, word32 bufSz,
CYASSL_MSG("Verify Key type unknown");
return 0;
}
return ret;
}

View File

@ -1419,6 +1419,7 @@ int rsa_test(void)
word32 inLen = (word32)strlen((char*)in);
byte out[256];
byte plain[256];
FILE* file, * file2;
#ifdef CYASSL_TEST_CERT
DecodedCert cert;
#endif
@ -1427,7 +1428,7 @@ int rsa_test(void)
if (tmp == NULL)
return -40;
FILE* file = fopen(clientKey, "rb"), * file2;
file = fopen(clientKey, "rb");
if (!file)
err_sys("can't open ./certs/client-key.der, "