eet_cipher.c: Fix arithmetic pointer on void *
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 16 Jan 2010 12:07:18 +0000 (12:07 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 16 Jan 2010 12:07:18 +0000 (12:07 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eet@45211 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

ChangeLog
src/lib/eet_cipher.c

index 4848733..5dd3fcb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
 2010-01-15  Cedric BAIL
 
        * Fix amalgamation.
+
+2010-01-16  Vincent Torri
+
+       * eet_cipher.c: Fix arithmetic pointer on void *
index 903e4b6..34df38b 100644 (file)
@@ -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