From 59577375af3f99e318ab57efeb74b37abe5f8fdb Mon Sep 17 00:00:00 2001 From: cedric Date: Thu, 11 Sep 2008 11:25:15 +0000 Subject: [PATCH] Use the right function here. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@35947 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/eet_lib.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/lib/eet_lib.c b/src/lib/eet_lib.c index 35534bb..3dbb5bc 100644 --- a/src/lib/eet_lib.c +++ b/src/lib/eet_lib.c @@ -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 -- 2.7.4