From: cedric Date: Sat, 13 Nov 2010 23:04:31 +0000 (+0000) Subject: * eet: Fix bug when using compression and ciphering. X-Git-Tag: submit/2.0alpha-wayland/20121127.222001~246 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=19dea119d3592c5bcdcaa5ad864c1ef79eaba41d;p=profile%2Fivi%2Feet.git * eet: Fix bug when using compression and ciphering. Reported by discomfitor. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@54540 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/ChangeLog b/ChangeLog index 5ee2347..c939882 100644 --- a/ChangeLog +++ b/ChangeLog @@ -444,3 +444,7 @@ 2010-11-12 Cedric BAIL * Don't try to read broken file when open in READ_WRITE mode. + +2010-11-14 Cedric BAIL + + * Fix bug with cypher and compression used together. diff --git a/src/lib/eet_lib.c b/src/lib/eet_lib.c index d7f1a2e..82aad09 100644 --- a/src/lib/eet_lib.c +++ b/src/lib/eet_lib.c @@ -2287,7 +2287,6 @@ eet_write_cipher(Eet_File *ef, data2 = data_ciphered; data_size = data_ciphered_sz; - size = (data_size > size) ? data_size : size; } else {