From 2130694902677ba129905231571526de2f9826ee Mon Sep 17 00:00:00 2001 From: geoghegan Date: Thu, 10 Feb 2011 22:18:04 +0000 Subject: [PATCH] Fix:Core: Removed unused variable, mactmp git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@4130 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- navit/navit/file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/navit/navit/file.c b/navit/navit/file.c index 300fa43..6e2b5a3 100644 --- a/navit/navit/file.c +++ b/navit/navit/file.c @@ -1,6 +1,6 @@ /** * Navit, a modular navigation system. - * Copyright (C) 2005-2008 Navit Team + * Copyright (C) 2005-2011 Navit Team * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -591,7 +591,7 @@ file_data_read_encrypted(struct file *file, long long offset, int size, int size g_free(ret); ret=NULL; } else { - unsigned char key[34], salt[8], verify[2], counter[16], xor[16], mac[10], mactmp[20], *datap; + unsigned char key[34], salt[8], verify[2], counter[16], xor[16], mac[10], *datap; int overhead=sizeof(salt)+sizeof(verify)+sizeof(mac); int esize=size-overhead; PKCS5_PBKDF2_HMAC_SHA1(passwd, strlen(passwd), (unsigned char *)buffer, 8, 1000, 34, key); -- 2.7.4