* eet: fix use of garbage data.

SVN revision: 51920
This commit is contained in:
Cedric BAIL 2010-09-06 10:54:03 +00:00
parent e2b4501a74
commit c119195b94
1 changed files with 3 additions and 3 deletions

View File

@ -2271,7 +2271,7 @@ eet_write_cipher(Eet_File *ef,
unsigned int data_ciphered_sz = 0;
const void *tmp;
tmp = data2 ? data2 : data;
tmp = comp ? data2 : data;
if (!eet_cipher(tmp, data_size, cipher_key, strlen(cipher_key),
&data_ciphered, &data_ciphered_sz))
{