diff options
Diffstat (limited to 'src/testcurl/test_digestauth.c')
-rw-r--r-- | src/testcurl/test_digestauth.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testcurl/test_digestauth.c b/src/testcurl/test_digestauth.c index 61b5b647..387d8abf 100644 --- a/src/testcurl/test_digestauth.c +++ b/src/testcurl/test_digestauth.c | |||
@@ -33,11 +33,11 @@ | |||
33 | #include <stdlib.h> | 33 | #include <stdlib.h> |
34 | #include <string.h> | 34 | #include <string.h> |
35 | #include <time.h> | 35 | #include <time.h> |
36 | #ifdef MHD_HTTPS_REQUIRE_GRYPT | 36 | #ifdef MHD_HTTPS_REQUIRE_GCRYPT |
37 | #ifdef HAVE_GCRYPT_H | 37 | #ifdef HAVE_GCRYPT_H |
38 | #include <gcrypt.h> | 38 | #include <gcrypt.h> |
39 | #endif | 39 | #endif |
40 | #endif /* MHD_HTTPS_REQUIRE_GRYPT */ | 40 | #endif /* MHD_HTTPS_REQUIRE_GCRYPT */ |
41 | 41 | ||
42 | #ifndef WINDOWS | 42 | #ifndef WINDOWS |
43 | #include <sys/socket.h> | 43 | #include <sys/socket.h> |
@@ -491,14 +491,14 @@ main (int argc, char *const *argv) | |||
491 | unsigned int errorCount = 0; | 491 | unsigned int errorCount = 0; |
492 | (void) argc; (void) argv; /* Unused. Silent compiler warning. */ | 492 | (void) argc; (void) argv; /* Unused. Silent compiler warning. */ |
493 | 493 | ||
494 | #ifdef MHD_HTTPS_REQUIRE_GRYPT | 494 | #ifdef MHD_HTTPS_REQUIRE_GCRYPT |
495 | #ifdef HAVE_GCRYPT_H | 495 | #ifdef HAVE_GCRYPT_H |
496 | gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0); | 496 | gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0); |
497 | #ifdef GCRYCTL_INITIALIZATION_FINISHED | 497 | #ifdef GCRYCTL_INITIALIZATION_FINISHED |
498 | gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0); | 498 | gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0); |
499 | #endif | 499 | #endif |
500 | #endif | 500 | #endif |
501 | #endif /* MHD_HTTPS_REQUIRE_GRYPT */ | 501 | #endif /* MHD_HTTPS_REQUIRE_GCRYPT */ |
502 | if (0 != curl_global_init (CURL_GLOBAL_WIN32)) | 502 | if (0 != curl_global_init (CURL_GLOBAL_WIN32)) |
503 | return 2; | 503 | return 2; |
504 | errorCount += testDigestAuth (); | 504 | errorCount += testDigestAuth (); |