forked from wolfSSL/wolfssl
Fix compiler issues with unused variable and printf.
This commit is contained in:
@ -445,6 +445,9 @@ int Renesas_cmn_usable(const struct WOLFSSL* ssl, byte session_key_generated)
|
||||
ret = wc_fspsm_usable(ssl, session_key_generated);
|
||||
#endif
|
||||
|
||||
(void)ssl;
|
||||
(void)session_key_generated;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
@ -492,7 +495,7 @@ int wc_CryptoCb_CryptInitRenesasCmn(struct WOLFSSL* ssl, void* ctx)
|
||||
|| ssl == NULL
|
||||
#endif
|
||||
) {
|
||||
printf("Invalid devId\n");
|
||||
WOLFSSL_MSG("Invalid devId\n");
|
||||
return INVALID_DEVID;
|
||||
}
|
||||
/* need exclusive control because of static variable */
|
||||
|
Reference in New Issue
Block a user