summaryrefslogtreecommitdiff
path: root/selftest.cpp
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 /selftest.cpp
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 'selftest.cpp')
-rw-r--r--selftest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/selftest.cpp b/selftest.cpp
index 4991aef7..9e219db7 100644
--- a/selftest.cpp
+++ b/selftest.cpp
@@ -461,8 +461,8 @@ static int testPacket()
unsigned char salsaKey[32],hmacKey[32];
Packet a,b;
- a.zeroAll();
- b.zeroAll();
+ a.burn();
+ b.burn();
for(unsigned int i=0;i<32;++i) {
salsaKey[i] = (unsigned char)rand();