strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed678b5
)
Use memwipe() in chunk_clear()
author
Martin Willi
<martin@revosec.ch>
Mon, 9 May 2011 11:20:24 +0000
(13:20 +0200)
committer
Martin Willi
<martin@revosec.ch>
Mon, 9 May 2011 12:36:14 +0000
(14:36 +0200)
src/libstrongswan/chunk.h
patch
|
blob
|
history
diff --git
a/src/libstrongswan/chunk.h
b/src/libstrongswan/chunk.h
index
f94bdfb
..
63644ac
100644
(file)
--- a/
src/libstrongswan/chunk.h
+++ b/
src/libstrongswan/chunk.h
@@
-175,7
+175,7
@@
static inline void chunk_clear(chunk_t *chunk)
{
if (chunk->ptr)
{
- mem
set(chunk->ptr, 0
, chunk->len);
+ mem
wipe(chunk->ptr
, chunk->len);
chunk_free(chunk);
}
}