diff options
Diffstat (limited to 'src/testcurl/test_digestauth_concurrent.c')
-rw-r--r-- | src/testcurl/test_digestauth_concurrent.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testcurl/test_digestauth_concurrent.c b/src/testcurl/test_digestauth_concurrent.c index efda16b6..d2bcfd47 100644 --- a/src/testcurl/test_digestauth_concurrent.c +++ b/src/testcurl/test_digestauth_concurrent.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> |
@@ -669,14 +669,14 @@ main (int argc, char *const *argv) | |||
669 | has_param (argc, argv, "-s") || | 669 | has_param (argc, argv, "-s") || |
670 | has_param (argc, argv, "--silent")); | 670 | has_param (argc, argv, "--silent")); |
671 | 671 | ||
672 | #ifdef MHD_HTTPS_REQUIRE_GRYPT | 672 | #ifdef MHD_HTTPS_REQUIRE_GCRYPT |
673 | #ifdef HAVE_GCRYPT_H | 673 | #ifdef HAVE_GCRYPT_H |
674 | gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0); | 674 | gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0); |
675 | #ifdef GCRYCTL_INITIALIZATION_FINISHED | 675 | #ifdef GCRYCTL_INITIALIZATION_FINISHED |
676 | gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0); | 676 | gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0); |
677 | #endif | 677 | #endif |
678 | #endif | 678 | #endif |
679 | #endif /* MHD_HTTPS_REQUIRE_GRYPT */ | 679 | #endif /* MHD_HTTPS_REQUIRE_GCRYPT */ |
680 | if (0 != curl_global_init (CURL_GLOBAL_WIN32)) | 680 | if (0 != curl_global_init (CURL_GLOBAL_WIN32)) |
681 | return 2; | 681 | return 2; |
682 | errorCount += testDigestAuth (); | 682 | errorCount += testDigestAuth (); |