Cleanup, dead code removal, some pretty insignificant security stuff that's based on recommendations.

This commit is contained in:
Adam Ierymenko 2014-04-18 00:14:12 -07:00
parent 5f45977e3e
commit 7831c4bfef
6 changed files with 31 additions and 33 deletions

View file

@ -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));
}
/**