diff options
Diffstat (limited to 'node/Buffer.hpp')
| -rw-r--r-- | node/Buffer.hpp | 6 |
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)); } /** |
