mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 19:54:40 +02:00
readme updates
This commit is contained in:
@@ -35,20 +35,20 @@ if everything is working.
|
|||||||
1. In usrAppInit.c, make a call to the wolfCrypt test application by adding
|
1. In usrAppInit.c, make a call to the wolfCrypt test application by adding
|
||||||
the following to the usrAppInit() function:
|
the following to the usrAppInit() function:
|
||||||
|
|
||||||
typedef struct func_args {
|
typedef struct func_args {
|
||||||
int argc;
|
int argc;
|
||||||
char** argv;
|
char** argv;
|
||||||
int return_code;
|
int return_code;
|
||||||
} func_args;
|
} func_args;
|
||||||
|
|
||||||
func_args args;
|
func_args args;
|
||||||
|
|
||||||
wolfcrypt_test(&args);
|
wolfcrypt_test(&args);
|
||||||
2. Include these header files in usrAppInit.c:
|
2. Include these header files in usrAppInit.c:
|
||||||
#include <wolfcrypt/test/test.h>
|
#include <wolfcrypt/test/test.h>
|
||||||
#include <wolfssl/ssl.h>
|
#include <wolfssl/ssl.h>
|
||||||
#include <wolfssl/wolfcrypt/settings.h>
|
#include <wolfssl/wolfcrypt/settings.h>
|
||||||
#include <wolfssl/test.h>
|
#include <wolfssl/test.h>
|
||||||
3. Start the simulator and check that all wolfCrypt tests pass. If there is a
|
3. Start the simulator and check that all wolfCrypt tests pass. If there is a
|
||||||
certificate file error, adjust the caCert file locations in
|
certificate file error, adjust the caCert file locations in
|
||||||
wolfcrypt/test/test.c or wolfssl/test.h to those of the filesystem in use.
|
wolfcrypt/test/test.c or wolfssl/test.h to those of the filesystem in use.
|
||||||
|
Reference in New Issue
Block a user