Commit 15d7b45c authored by Vincent Torri's avatar Vincent Torri

eet_cipher.c: Fix arithmetic pointer on void *


SVN revision: 45211
parent 7c0e6224
......@@ -305,3 +305,7 @@
2010-01-15 Cedric BAIL
* Fix amalgamation.
2010-01-16 Vincent Torri
* eet_cipher.c: Fix arithmetic pointer on void *
......@@ -553,7 +553,7 @@ eet_identity_check(const void *data_base, unsigned int data_length,
if (sign_len + cert_len + sizeof(int) * 3 > signature_length) return NULL;
/* Update the signature and certificate pointer */
sign = signature_base + sizeof(int) * 3;
sign = (unsigned char *)signature_base + sizeof(int) * 3;
cert_der = sign + sign_len;
# ifdef HAVE_GNUTLS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment