diff options
Diffstat (limited to 'src/gnutls/init.c')
-rw-r--r-- | src/gnutls/init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gnutls/init.c b/src/gnutls/init.c index 401172fc..638f629c 100644 --- a/src/gnutls/init.c +++ b/src/gnutls/init.c | |||
@@ -134,17 +134,17 @@ MHD_TLS_init (void) | |||
134 | #if defined(MHD_USE_POSIX_THREADS) | 134 | #if defined(MHD_USE_POSIX_THREADS) |
135 | if (0 != gcry_control (GCRYCTL_SET_THREAD_CBS, | 135 | if (0 != gcry_control (GCRYCTL_SET_THREAD_CBS, |
136 | &gcry_threads_pthread)) | 136 | &gcry_threads_pthread)) |
137 | MHD_PANIC (_ ("Failed to initialise multithreading in libgcrypt\n")); | 137 | MHD_PANIC (_ ("Failed to initialise multithreading in libgcrypt.\n")); |
138 | #elif defined(MHD_W32_MUTEX_) | 138 | #elif defined(MHD_W32_MUTEX_) |
139 | if (0 != gcry_control (GCRYCTL_SET_THREAD_CBS, | 139 | if (0 != gcry_control (GCRYCTL_SET_THREAD_CBS, |
140 | &gcry_threads_w32)) | 140 | &gcry_threads_w32)) |
141 | MHD_PANIC (_ ("Failed to initialise multithreading in libgcrypt\n")); | 141 | MHD_PANIC (_ ("Failed to initialise multithreading in libgcrypt.\n")); |
142 | #endif /* defined(MHD_W32_MUTEX_) */ | 142 | #endif /* defined(MHD_W32_MUTEX_) */ |
143 | gcry_check_version (NULL); | 143 | gcry_check_version (NULL); |
144 | #else | 144 | #else |
145 | if (NULL == gcry_check_version ("1.6.0")) | 145 | if (NULL == gcry_check_version ("1.6.0")) |
146 | MHD_PANIC (_ ( | 146 | MHD_PANIC (_ ( |
147 | "libgcrypt is too old. MHD was compiled for libgcrypt 1.6.0 or newer\n")); | 147 | "libgcrypt is too old. MHD was compiled for libgcrypt 1.6.0 or newer.\n")); |
148 | #endif | 148 | #endif |
149 | #endif /* MHD_HTTPS_REQUIRE_GRYPT */ | 149 | #endif /* MHD_HTTPS_REQUIRE_GRYPT */ |
150 | gnutls_global_init (); | 150 | gnutls_global_init (); |