Build fixes for G++, building without SQLite3 present, and warning removal.

This commit is contained in:
Adam Ierymenko 2015-05-17 23:56:47 +00:00
parent 0af18b164c
commit 2810cd7c15
4 changed files with 9 additions and 8 deletions

View file

@ -510,16 +510,14 @@ static int testCertificate()
static int testPacket()
{
unsigned char salsaKey[32],hmacKey[32];
unsigned char salsaKey[32];
Packet a,b;
a.burn();
b.burn();
for(unsigned int i=0;i<32;++i) {
for(unsigned int i=0;i<32;++i)
salsaKey[i] = (unsigned char)rand();
hmacKey[i] = (unsigned char)rand();
}
std::cout << "[packet] Testing Packet encoder/decoder... ";