whitespace cleanups and portability/pedantic fixes

This commit is contained in:
Daniel Pouzzner
2021-11-29 23:58:39 -06:00
parent 5fbdd2a2c0
commit a33ae21801
14 changed files with 72 additions and 71 deletions

View File

@@ -9817,6 +9817,8 @@ static int StoreEccKey(DecodedCert* cert, const byte* source, word32* srcIdx,
#if defined(WOLFSSL_RENESAS_SCEPROTECT)
cert->sigCtx.CertAtt.curve_id = ret;
#else
(void)ret;
#endif
/* key header */
ret = CheckBitString(source, srcIdx, &length, maxIdx, 1, NULL);

View File

@@ -372,7 +372,6 @@ int wolfCrypt_Cleanup(void)
#else
#ifdef WOLFSSL_SCE
WOLFSSL_SCE_GSCE_HANDLE.p_api->close(WOLFSSL_SCE_GSCE_HANDLE.p_ctrl);
#endif
#endif

View File

@@ -3652,9 +3652,9 @@ typedef struct PkCbInfo {
} PkCbInfo;
#if defined(DEBUG_PK_CB) || defined(TEST_PK_PRIVKEY)
#define WOLFSSL_PKMSG(_f_, ...) printf(_f_, ##__VA_ARGS__)
#define WOLFSSL_PKMSG(...) printf(__VA_ARGS__)
#else
#define WOLFSSL_PKMSG(_f_, ...)
#define WOLFSSL_PKMSG(...)
#endif
#ifdef HAVE_ECC

0
wolfssl/wolfcrypt/port/Renesas/renesas_cmn.h Executable file → Normal file
View File