aboutsummaryrefslogtreecommitdiff
path: root/src/gnutls/init.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-06-10 21:45:34 +0200
committerChristian Grothoff <christian@grothoff.org>2020-06-10 21:45:34 +0200
commit34aa038d97938cf24b157892bcab6fec173918c8 (patch)
tree27e0dc98bfa82e59d30616e29b11e09b8f1384ed /src/gnutls/init.c
parenta019057377ee1b67d49264d1029ac615089b2422 (diff)
parentf84bdf0a8c4c11d956f63bc6378aaa7fa9bb95aa (diff)
downloadlibmicrohttpd-34aa038d97938cf24b157892bcab6fec173918c8.tar.gz
libmicrohttpd-34aa038d97938cf24b157892bcab6fec173918c8.zip
Merge branch 'master' of git+ssh://gnunet.org/libmicrohttpd
Diffstat (limited to 'src/gnutls/init.c')
-rw-r--r--src/gnutls/init.c6
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 ();