diff --git a/ctaocrypt/src/asn.c b/ctaocrypt/src/asn.c index c282225a8..4267bbfd6 100644 --- a/ctaocrypt/src/asn.c +++ b/ctaocrypt/src/asn.c @@ -2193,7 +2193,6 @@ static int ConfirmSignature(const byte* buf, word32 bufSz, CYASSL_MSG("Verify Key type unknown"); return 0; } - return ret; } diff --git a/ctaocrypt/test/test.c b/ctaocrypt/test/test.c index b4711c098..347164d53 100644 --- a/ctaocrypt/test/test.c +++ b/ctaocrypt/test/test.c @@ -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, "