diff options
Diffstat (limited to '')
-rw-r--r-- | cipher/des.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cipher/des.c b/cipher/des.c index 36383d2c0..5c0e49645 100644 --- a/cipher/des.c +++ b/cipher/des.c @@ -115,6 +115,7 @@ #include <stdio.h> #include <string.h> /* memcpy, memcmp */ #include "types.h" /* for byte and u32 typedefs */ +#include "util.h" #include "errors.h" #include "algorithms.h" @@ -453,7 +454,7 @@ burn_stack (int bytes) { char buf[64]; - memset (buf, 0, sizeof buf); + wipememory(buf,sizeof buf); bytes -= sizeof buf; if (bytes > 0) burn_stack (bytes); |