diff options
author | Cedric BAIL <cedric@osg.samsung.com> | 2015-03-17 08:50:44 +0100 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2015-03-17 09:58:20 +0100 |
commit | 065f87bd15c46828c06e0ef1073fddc55ec08db6 (patch) | |
tree | 0515d9bb848e8c681fe617b28b42c6b7b23bafa6 /src/lib/emile/emile_cipher_gnutls.c | |
parent | 6e59828f74290432166de13731728d547619ac19 (diff) | |
download | efl-065f87bd15c46828c06e0ef1073fddc55ec08db6.tar.gz |
emile: cleanup comments and internal functions name.
Diffstat (limited to 'src/lib/emile/emile_cipher_gnutls.c')
-rw-r--r-- | src/lib/emile/emile_cipher_gnutls.c | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/lib/emile/emile_cipher_gnutls.c b/src/lib/emile/emile_cipher_gnutls.c index 5cf85e4cc5..eda1d54b09 100644 --- a/src/lib/emile/emile_cipher_gnutls.c +++ b/src/lib/emile/emile_cipher_gnutls.c @@ -1,6 +1,6 @@ #ifdef HAVE_CONFIG_H # include <config.h> -#endif /* ifdef HAVE_CONFIG_H */ +#endif #ifdef HAVE_NETINET_IN_H # include <netinet/in.h> @@ -113,16 +113,17 @@ _emile_cipher_init(void) /* Disable warning messages about problems with the secure memory subsystem. This command should be run right after gcry_check_version. */ if (gcry_control(GCRYCTL_DISABLE_SECMEM_WARN)) - return EINA_FALSE; /* This command is used to allocate a pool of secure memory and thus - enabling the use of secure memory. It also drops all extra privileges the - process has (i.e. if it is run as setuid (root)). If the argument nbytes - is 0, secure memory will be disabled. The minimum amount of secure memory - allocated is currently 16384 bytes; you may thus use a value of 1 to - request that default size. */ - + return EINA_FALSE; + + /* This command is used to allocate a pool of secure memory and thus + enabling the use of secure memory. It also drops all extra privileges the + process has (i.e. if it is run as setuid (root)). If the argument nbytes + is 0, secure memory will be disabled. The minimum amount of secure memory + 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)) - WRN( - "BIG FAT WARNING: I AM UNABLE TO REQUEST SECMEM, Cryptographic operation are at risk !"); + WRN("BIG FAT WARNING: I AM UNABLE TO REQUEST SECMEM, " + "Cryptographic operation are at risk !"); } if (gnutls_global_init()) |