From 2d0d4b06b1f132c7620a2b11cd1b48b706b03ac8 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sat, 11 Jul 2015 01:50:27 +0200 Subject: Linux: Solve compilation warning (unused variables, pointer cast) --- src/Common/Pkcs5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Common') 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; /* -- cgit v1.2.3