diff options
Diffstat (limited to 'src/testcurl/test_digestauth_with_arguments.c')
-rw-r--r-- | src/testcurl/test_digestauth_with_arguments.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testcurl/test_digestauth_with_arguments.c b/src/testcurl/test_digestauth_with_arguments.c index aabf1b7e..09d70674 100644 --- a/src/testcurl/test_digestauth_with_arguments.c +++ b/src/testcurl/test_digestauth_with_arguments.c | |||
@@ -32,11 +32,11 @@ | |||
32 | #include <stdlib.h> | 32 | #include <stdlib.h> |
33 | #include <string.h> | 33 | #include <string.h> |
34 | #include <time.h> | 34 | #include <time.h> |
35 | #ifdef MHD_HTTPS_REQUIRE_GRYPT | 35 | #ifdef MHD_HTTPS_REQUIRE_GCRYPT |
36 | #ifdef HAVE_GCRYPT_H | 36 | #ifdef HAVE_GCRYPT_H |
37 | #include <gcrypt.h> | 37 | #include <gcrypt.h> |
38 | #endif | 38 | #endif |
39 | #endif /* MHD_HTTPS_REQUIRE_GRYPT */ | 39 | #endif /* MHD_HTTPS_REQUIRE_GCRYPT */ |
40 | 40 | ||
41 | #ifndef WINDOWS | 41 | #ifndef WINDOWS |
42 | #include <sys/socket.h> | 42 | #include <sys/socket.h> |
@@ -289,14 +289,14 @@ main (int argc, char *const *argv) | |||
289 | } | 289 | } |
290 | #endif /* libcurl version 7.62.x */ | 290 | #endif /* libcurl version 7.62.x */ |
291 | 291 | ||
292 | #ifdef MHD_HTTPS_REQUIRE_GRYPT | 292 | #ifdef MHD_HTTPS_REQUIRE_GCRYPT |
293 | #ifdef HAVE_GCRYPT_H | 293 | #ifdef HAVE_GCRYPT_H |
294 | gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0); | 294 | gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0); |
295 | #ifdef GCRYCTL_INITIALIZATION_FINISHED | 295 | #ifdef GCRYCTL_INITIALIZATION_FINISHED |
296 | gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0); | 296 | gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0); |
297 | #endif | 297 | #endif |
298 | #endif | 298 | #endif |
299 | #endif /* MHD_HTTPS_REQUIRE_GRYPT */ | 299 | #endif /* MHD_HTTPS_REQUIRE_GCRYPT */ |
300 | if (0 != curl_global_init (CURL_GLOBAL_WIN32)) | 300 | if (0 != curl_global_init (CURL_GLOBAL_WIN32)) |
301 | return 2; | 301 | return 2; |
302 | errorCount += testDigestAuth (); | 302 | errorCount += testDigestAuth (); |