Rename INLINE

1. Renamed the macro INLINE as WC_INLINE.
2. For FIPS and the "selftest" build, define INLINE as WC_INLINE. Allows the FIPS code to work unchanged.
This commit is contained in:
John Safranek
2018-06-26 11:40:34 -07:00
parent a7d761c336
commit 586874b997
46 changed files with 335 additions and 331 deletions

View File

@@ -4607,7 +4607,7 @@ WOLFSSL_API void wolfSSL_ERR_print_errors_fp(FILE*, int err);
\code
WOLFSSL_CTX* ctx = WOLFSSL_CTX_new( protocol def );
static INLINE unsigned int my_psk_client_cb(WOLFSSL* ssl, const char* hint,
static WC_INLINE unsigned int my_psk_client_cb(WOLFSSL* ssl, const char* hint,
char* identity, unsigned int id_max_len, unsigned char* key,
Unsigned int key_max_len){