mirror of https://github.com/wolfSSL/wolfssl.git
which force on BUILDING_WOLFSSL and do boilerplate includes, and update library sources to include them at the top. wolfssl_sources.h includes types.h, error-crypt.h, and logging.h, and conditionally, config.h. settings.h and wc_port.h are unconditionally included at the top of types.h. wolfssl_sources_asm.h includes settings.h, and conditionally, config.h. Add wolfssl_sources*.h to wolfcrypt/src/include.am, and to several IDE/ project files. Also added a TEST_WOLFSSL_SOURCES_INCLUSION_SEQUENCE clause in wolfssl/wolfcrypt/settings.h to allow coverage testing. In wolfcrypt/src/misc.c, retain existing ad hoc boilerplate includes, and use them if WOLFSSL_VIS_FOR_TESTS, otherwise include the new wolfssl_sources.h. Define WOLFSSL_VIS_FOR_TESTS at top of wolfcrypt/test/test.c. Also renamed WOLFSSL_NEED_LINUX_CURRENT to WOLFSSL_LINUXKM_NEED_LINUX_CURRENT, for clarity. |
||
---|---|---|
.. | ||
wolfCrypt_example | ||
wolfCrypt_example_system |