projects
/
profile
/
ivi
/
eet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
944c053
)
eet_cipher.c: Fix arithmetic pointer on void *
author
caro
<caro>
Sat, 16 Jan 2010 12:07:18 +0000
(12:07 +0000)
committer
caro
<caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 16 Jan 2010 12:07:18 +0000
(12:07 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@45211
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
ChangeLog
patch
|
blob
|
history
src/lib/eet_cipher.c
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
4848733
..
5dd3fcb
100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-305,3
+305,7
@@
2010-01-15 Cedric BAIL
* Fix amalgamation.
+
+2010-01-16 Vincent Torri
+
+ * eet_cipher.c: Fix arithmetic pointer on void *
diff --git
a/src/lib/eet_cipher.c
b/src/lib/eet_cipher.c
index
903e4b6
..
34df38b
100644
(file)
--- a/
src/lib/eet_cipher.c
+++ b/
src/lib/eet_cipher.c
@@
-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