Identified two more old-style definitions in test app

This commit is contained in:
kaleb-himes
2017-07-16 16:01:52 -06:00
parent e51225aca6
commit a7390e32ec

View File

@ -1098,7 +1098,7 @@ int asn_test(void)
#endif #endif
#ifdef WOLFSSL_MD2 #ifdef WOLFSSL_MD2
int md2_test() int md2_test(void)
{ {
Md2 md2; Md2 md2;
byte hash[MD2_DIGEST_SIZE]; byte hash[MD2_DIGEST_SIZE];
@ -13432,7 +13432,7 @@ static int randNum(mp_int* n, int len, WC_RNG* rng, void* heap)
} }
#endif #endif
int mp_test() int mp_test(void)
{ {
WC_RNG rng; WC_RNG rng;
int ret; int ret;
@ -13577,7 +13577,7 @@ static void my_Logging_cb(const int logLevel, const char *const logMessage)
} }
#endif #endif
int logging_test() int logging_test(void)
{ {
#ifdef DEBUG_WOLFSSL #ifdef DEBUG_WOLFSSL
const char* msg = "Testing, testing. 1, 2, 3, 4 ..."; const char* msg = "Testing, testing. 1, 2, 3, 4 ...";