summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cde09b5)
raw | patch | inline | side by side (parent: cde09b5)
author | Chris Lundquist <chris.lundquist@github.com> | |
Wed, 15 Jan 2014 02:33:13 +0000 (18:33 -0800) | ||
committer | Florian Forster <octo@collectd.org> | |
Wed, 15 Jan 2014 22:26:26 +0000 (23:26 +0100) |
Signed-off-by: Florian Forster <octo@collectd.org>
src/network.c | patch | blob | history |
diff --git a/src/network.c b/src/network.c
index d0ff6bca430c890e30178eef24498e5775bca32f..be82c6f5108c6cbc65ae9c515d3e799585cd6002 100644 (file)
--- a/src/network.c
+++ b/src/network.c
if (gcry_control (GCRYCTL_ANY_INITIALIZATION_P))
return;
- gcry_check_version (NULL); /* before calling any other functions */
gcry_control (GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread);
+ gcry_check_version (NULL); /* before calling *almost* any other functions */
gcry_control (GCRYCTL_INIT_SECMEM, 32768);
gcry_control (GCRYCTL_INITIALIZATION_FINISHED);
} /* }}} void network_init_gcrypt */