VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Pkcs5.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-07-11 01:50:27 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-07-11 01:58:39 +0200
commit2d0d4b06b1f132c7620a2b11cd1b48b706b03ac8 (patch)
tree171b8eeb8279373c9ebf70abfedd5bee43b0c9ae /src/Common/Pkcs5.c
parent944b6aa53fd099b4e6477fb1d784f945456e8706 (diff)
downloadVeraCrypt-2d0d4b06b1f132c7620a2b11cd1b48b706b03ac8.tar.gz
VeraCrypt-2d0d4b06b1f132c7620a2b11cd1b48b706b03ac8.zip
Linux: Solve compilation warning (unused variables, pointer cast)
Diffstat (limited to 'src/Common/Pkcs5.c')
-rw-r--r--src/Common/Pkcs5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/Pkcs5.c b/src/Common/Pkcs5.c
index ea0a9874..ef263db7 100644
--- a/src/Common/Pkcs5.c
+++ b/src/Common/Pkcs5.c
@@ -401,7 +401,7 @@ typedef struct hmac_ripemd160_ctx_struct
void hmac_ripemd160_internal (char *key, int keylen, char *input_digest, int len, hmac_ripemd160_ctx* hmac)
{
RMD160_CTX* context = &(hmac->context);
- unsigned char* k_pad = hmac->k_pad; /* inner/outer padding - key XORd with ipad */
+ unsigned char* k_pad = (unsigned char*) hmac->k_pad; /* inner/outer padding - key XORd with ipad */
int i;
/*