diff options
Diffstat (limited to 'src/testcurl/https/test_tls_extensions.c')
-rw-r--r-- | src/testcurl/https/test_tls_extensions.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testcurl/https/test_tls_extensions.c b/src/testcurl/https/test_tls_extensions.c index 3fe4ef71..277bd010 100644 --- a/src/testcurl/https/test_tls_extensions.c +++ b/src/testcurl/https/test_tls_extensions.c | |||
@@ -29,9 +29,9 @@ | |||
29 | #include "microhttpd.h" | 29 | #include "microhttpd.h" |
30 | #include "tls_test_common.h" | 30 | #include "tls_test_common.h" |
31 | #include "mhd_sockets.h" /* only macros used */ | 31 | #include "mhd_sockets.h" /* only macros used */ |
32 | #ifdef MHD_HTTPS_REQUIRE_GRYPT | 32 | #ifdef MHD_HTTPS_REQUIRE_GCRYPT |
33 | #include <gcrypt.h> | 33 | #include <gcrypt.h> |
34 | #endif /* MHD_HTTPS_REQUIRE_GRYPT */ | 34 | #endif /* MHD_HTTPS_REQUIRE_GCRYPT */ |
35 | #include "tls_test_keys.h" | 35 | #include "tls_test_keys.h" |
36 | 36 | ||
37 | #define MAX_EXT_DATA_LENGTH 256 | 37 | #define MAX_EXT_DATA_LENGTH 256 |
@@ -220,12 +220,12 @@ main (int argc, char *const *argv) | |||
220 | else | 220 | else |
221 | port = 3080; | 221 | port = 3080; |
222 | 222 | ||
223 | #ifdef MHD_HTTPS_REQUIRE_GRYPT | 223 | #ifdef MHD_HTTPS_REQUIRE_GCRYPT |
224 | gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0); | 224 | gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0); |
225 | #ifdef GCRYCTL_INITIALIZATION_FINISHED | 225 | #ifdef GCRYCTL_INITIALIZATION_FINISHED |
226 | gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0); | 226 | gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0); |
227 | #endif | 227 | #endif |
228 | #endif /* MHD_HTTPS_REQUIRE_GRYPT */ | 228 | #endif /* MHD_HTTPS_REQUIRE_GCRYPT */ |
229 | MHD_gtls_global_set_log_level (11); | 229 | MHD_gtls_global_set_log_level (11); |
230 | 230 | ||
231 | if ((test_fd = setup_test_file ()) == NULL) | 231 | if ((test_fd = setup_test_file ()) == NULL) |