Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ STATIC INLINE void c32toa(word32 u32, byte* c)


/* Make sure compiler doesn't skip */
STATIC INLINE void ForceZero(const void* mem, word32 length)
STATIC INLINE void ForceZero(void* mem, word32 length)
{
volatile byte* z = (volatile byte*)mem;

Expand Down
2 changes: 1 addition & 1 deletion wolfssh/misc.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ WOLFSSH_LOCAL word32 min(word32 a, word32 b);

WOLFSSH_LOCAL void ato32(const byte* c, word32* u32);
WOLFSSH_LOCAL void c32toa(word32 u32, byte* c);
WOLFSSH_LOCAL void ForceZero(const void* mem, word32 length);
WOLFSSH_LOCAL void ForceZero(void* mem, word32 length);
WOLFSSH_LOCAL int ConstantCompare(const byte* a, const byte* b, word32 length);


Expand Down
Loading