Merge pull request #1327 from dgarske/ignore_file_warn

Added `WOLFSSL_IGNORE_FILE_WARN` option
This commit is contained in:
toddouska
2018-01-19 14:51:31 -08:00
committed by GitHub
3 changed files with 9 additions and 3 deletions

View File

@ -20,7 +20,9 @@
*/
#if !defined(WOLFSSL_BIO_INCLUDED)
#warning bio.c does not need to be compiled seperatly from ssl.c
#ifndef WOLFSSL_IGNORE_FILE_WARN
#warning bio.c does not need to be compiled seperatly from ssl.c
#endif
#else

View File

@ -20,7 +20,9 @@
*/
#if !defined(WOLFSSL_EVP_INCLUDED)
#warning evp.c does not need to be compiled seperatly from ssl.c
#ifndef WOLFSSL_IGNORE_FILE_WARN
#warning evp.c does not need to be compiled seperatly from ssl.c
#endif
#else
static unsigned int cipherType(const WOLFSSL_EVP_CIPHER *cipher);

View File

@ -46,7 +46,9 @@
/* Check for if compiling misc.c when not needed. */
#if !defined(WOLFSSL_MISC_INCLUDED) && !defined(NO_INLINE)
#warning misc.c does not need to be compiled when using inline (NO_INLINE not defined)
#ifndef WOLFSSL_IGNORE_FILE_WARN
#warning misc.c does not need to be compiled when using inline (NO_INLINE not defined)
#endif
#else