summaryrefslogtreecommitdiff
path: root/node/Buffer.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-04-18 00:14:12 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-04-18 00:14:12 -0700
commit7831c4bfef2c340de01ff08461bd7f6a0e54ce32 (patch)
tree0726bc6c54ea7c389fcb972a8f672fbee0183153 /node/Buffer.hpp
parent5f45977e3e3b912269ed5745423ad330be803964 (diff)
downloadinfinitytier-7831c4bfef2c340de01ff08461bd7f6a0e54ce32.tar.gz
infinitytier-7831c4bfef2c340de01ff08461bd7f6a0e54ce32.zip
Cleanup, dead code removal, some pretty insignificant security stuff that's based on recommendations.
Diffstat (limited to 'node/Buffer.hpp')
-rw-r--r--node/Buffer.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/node/Buffer.hpp b/node/Buffer.hpp
index 3c4c4015..bc74f048 100644
--- a/node/Buffer.hpp
+++ b/node/Buffer.hpp
@@ -380,12 +380,12 @@ public:
}
/**
- * Unconditionally zero buffer's underlying memory
+ * Unconditionally and securely zero buffer's underlying memory
*/
- inline void zeroAll()
+ inline void burn()
throw()
{
- memset(_b,0,sizeof(_b));
+ Utils::burn(_b,sizeof(_b));
}
/**