From: cedric Date: Thu, 23 Jul 2009 09:53:44 +0000 (+0000) Subject: * eet: Fix initialization for system that don't support SECMEN. X-Git-Tag: 2.0_alpha~54^2~290 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8b615804c30b96890eedf76600c7186314481039;p=framework%2Fuifw%2Feet.git * eet: Fix initialization for system that don't support SECMEN. Note that I don't like this solution, but I didn't see any better one. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eet@41481 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/eet_lib.c b/src/lib/eet_lib.c index 1fefbe1..a6b5d99 100644 --- a/src/lib/eet_lib.c +++ b/src/lib/eet_lib.c @@ -746,7 +746,7 @@ eet_init(void) allocated is currently 16384 bytes; you may thus use a value of 1 to request that default size. */ if (gcry_control(GCRYCTL_INIT_SECMEM, 16384, 0)) - return --eet_initcount; + fprintf(stderr, "BIG FAT WARNING: I AM UNABLE TO REQUEST SECMEM, Cryptographic operation are at risk !"); } if (gnutls_global_init()) return --eet_initcount;