From 7d17aa22b2decc8e85a75e5bb3f407f33bf457fb 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