mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
fix VS2008 asn.c warning, CTaoCrypt RSA test
This commit is contained in:
@@ -2193,7 +2193,6 @@ static int ConfirmSignature(const byte* buf, word32 bufSz,
|
|||||||
CYASSL_MSG("Verify Key type unknown");
|
CYASSL_MSG("Verify Key type unknown");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return ret;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -1419,6 +1419,7 @@ int rsa_test(void)
|
|||||||
word32 inLen = (word32)strlen((char*)in);
|
word32 inLen = (word32)strlen((char*)in);
|
||||||
byte out[256];
|
byte out[256];
|
||||||
byte plain[256];
|
byte plain[256];
|
||||||
|
FILE* file, * file2;
|
||||||
#ifdef CYASSL_TEST_CERT
|
#ifdef CYASSL_TEST_CERT
|
||||||
DecodedCert cert;
|
DecodedCert cert;
|
||||||
#endif
|
#endif
|
||||||
@@ -1427,7 +1428,7 @@ int rsa_test(void)
|
|||||||
if (tmp == NULL)
|
if (tmp == NULL)
|
||||||
return -40;
|
return -40;
|
||||||
|
|
||||||
FILE* file = fopen(clientKey, "rb"), * file2;
|
file = fopen(clientKey, "rb");
|
||||||
|
|
||||||
if (!file)
|
if (!file)
|
||||||
err_sys("can't open ./certs/client-key.der, "
|
err_sys("can't open ./certs/client-key.der, "
|
||||||
|
Reference in New Issue
Block a user