Use the right function here.

SVN revision: 35947
This commit is contained in:
Cedric BAIL 2008-09-11 11:25:15 +00:00
parent 4762661711
commit 1e0d00d4bd
1 changed files with 1 additions and 6 deletions

View File

@ -968,12 +968,7 @@ eet_internal_read2(Eet_File *ef)
buffer, ef->data_size - signature_base_offset,
&ef->x509_length);
if (ef->x509_der == NULL)
{
ef->delete_me_now = 1;
eet_close(ef);
return NULL;
}
if (eet_test_close(ef->x509_der == NULL)) return NULL;
#else
fprintf(stderr, "This file could be signed but you didn't compile the necessary code to check the signature.\n");
#endif