aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/blowfish.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cipher/blowfish.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cipher/blowfish.c b/cipher/blowfish.c
index bf00fc462..7c9f952e9 100644
--- a/cipher/blowfish.c
+++ b/cipher/blowfish.c
@@ -35,6 +35,7 @@
#include <string.h>
#include <assert.h>
#include "types.h"
+#include "util.h"
#include "errors.h"
#include "algorithms.h"
@@ -282,7 +283,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);