Make the wolfSSL_GetMaxFragSize parameter meaning consistent

- Add testing for sending as much app data as possible in a single DTLS record
This commit is contained in:
Juliusz Sosinowicz
2021-10-28 14:46:15 +02:00
parent 7cbfb27fa0
commit 894303be59
5 changed files with 3131 additions and 1741 deletions
+9 -4
View File
@@ -122,11 +122,16 @@ int unit_test(int argc, char** argv)
}
#endif
ApiTest();
#ifdef WOLFSSL_ALLOW_SKIP_UNIT_TESTS
if (argc == 1)
#endif
{
ApiTest();
if ( (ret = HashTest()) != 0){
printf("hash test failed with %d\n", ret);
goto exit;
if ( (ret = HashTest()) != 0){
printf("hash test failed with %d\n", ret);
goto exit;
}
}
#ifndef NO_WOLFSSL_CIPHER_SUITE_TEST