aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/https/test_https_sni.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/https/test_https_sni.c')
-rw-r--r--src/testcurl/https/test_https_sni.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testcurl/https/test_https_sni.c b/src/testcurl/https/test_https_sni.c
index 4ffe1d8f..3581aa17 100644
--- a/src/testcurl/https/test_https_sni.c
+++ b/src/testcurl/https/test_https_sni.c
@@ -28,9 +28,9 @@
28#include <limits.h> 28#include <limits.h>
29#include <sys/stat.h> 29#include <sys/stat.h>
30#include <curl/curl.h> 30#include <curl/curl.h>
31#ifdef MHD_HTTPS_REQUIRE_GRYPT 31#ifdef MHD_HTTPS_REQUIRE_GCRYPT
32#include <gcrypt.h> 32#include <gcrypt.h>
33#endif /* MHD_HTTPS_REQUIRE_GRYPT */ 33#endif /* MHD_HTTPS_REQUIRE_GCRYPT */
34#include "tls_test_common.h" 34#include "tls_test_common.h"
35#include <gnutls/gnutls.h> 35#include <gnutls/gnutls.h>
36 36
@@ -264,12 +264,12 @@ main (int argc, char *const *argv)
264 else 264 else
265 port = 3060; 265 port = 3060;
266 266
267#ifdef MHD_HTTPS_REQUIRE_GRYPT 267#ifdef MHD_HTTPS_REQUIRE_GCRYPT
268 gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0); 268 gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0);
269#ifdef GCRYCTL_INITIALIZATION_FINISHED 269#ifdef GCRYCTL_INITIALIZATION_FINISHED
270 gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0); 270 gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0);
271#endif 271#endif
272#endif /* MHD_HTTPS_REQUIRE_GRYPT */ 272#endif /* MHD_HTTPS_REQUIRE_GCRYPT */
273 if (! testsuite_curl_global_init ()) 273 if (! testsuite_curl_global_init ())
274 return 99; 274 return 99;
275 tls_backend = curl_version_info (CURLVERSION_NOW)->ssl_version; 275 tls_backend = curl_version_info (CURLVERSION_NOW)->ssl_version;