summaryrefslogtreecommitdiffhomepage
path: root/libtomcrypt/src/misc/zeromem.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtomcrypt/src/misc/zeromem.c')
-rw-r--r--libtomcrypt/src/misc/zeromem.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/libtomcrypt/src/misc/zeromem.c b/libtomcrypt/src/misc/zeromem.c
index 2ddead8..99b02f8 100644
--- a/libtomcrypt/src/misc/zeromem.c
+++ b/libtomcrypt/src/misc/zeromem.c
@@ -5,8 +5,6 @@
*
* The library is free for all purposes without any express
* guarantee it works.
- *
- * Tom St Denis, tomstdenis@gmail.com, http://libtom.org
*/
#include "tomcrypt.h"
#include "dbhelpers.h"
@@ -21,11 +19,11 @@
@param out The destination of the area to zero
@param outlen The length of the area to zero (octets)
*/
-void zeromem(void *out, size_t outlen)
+void zeromem(volatile void *out, size_t outlen)
{
- m_burn(out, outlen);
+ m_burn((void*)out, outlen);
}
-/* $Source$ */
-/* $Revision$ */
-/* $Date$ */
+/* ref: $Format:%D$ */
+/* git commit: $Format:%H$ */
+/* commit time: $Format:%ai$ */