forked from wolfSSL/wolfssl
Added a test of Init to the tests.
This commit is contained in:
12
tests/api.c
12
tests/api.c
@@ -1 +1,13 @@
|
|||||||
/* api.c API unit tests */
|
/* api.c API unit tests */
|
||||||
|
#include <cyassl/ssl.h>
|
||||||
|
|
||||||
|
// 0 on success, otherwise fail
|
||||||
|
int test_CyaSSL_Init(void)
|
||||||
|
{
|
||||||
|
int result = CyaSSL_Init();
|
||||||
|
|
||||||
|
if (result) printf("test_CyaSSL_Init(): failed\n");
|
||||||
|
|
||||||
|
return (result);
|
||||||
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user