diff options
Diffstat (limited to 'cipher/cast5.c')
-rw-r--r-- | cipher/cast5.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cipher/cast5.c b/cipher/cast5.c index 6373886f5..5ecfcc646 100644 --- a/cipher/cast5.c +++ b/cipher/cast5.c @@ -40,6 +40,7 @@ #include <stdlib.h> #include <string.h> #include "types.h" +#include "util.h" #include "errors.h" #include "algorithms.h" @@ -359,7 +360,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); |