diff options
Diffstat (limited to 'src/testcurl/test_digestauth.c')
-rw-r--r-- | src/testcurl/test_digestauth.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testcurl/test_digestauth.c b/src/testcurl/test_digestauth.c index 4838fc37..926093a3 100644 --- a/src/testcurl/test_digestauth.c +++ b/src/testcurl/test_digestauth.c | |||
@@ -44,7 +44,7 @@ | |||
44 | 44 | ||
45 | #define DENIED "<html><head><title>libmicrohttpd demo</title></head><body>Access denied</body></html>" | 45 | #define DENIED "<html><head><title>libmicrohttpd demo</title></head><body>Access denied</body></html>" |
46 | 46 | ||
47 | #define OPAQUE "11733b200778ce33060f31c9af70a870ba96ddd4" | 47 | #define MY_OPAQUE "11733b200778ce33060f31c9af70a870ba96ddd4" |
48 | 48 | ||
49 | struct CBC | 49 | struct CBC |
50 | { | 50 | { |
@@ -88,7 +88,7 @@ ahc_echo (void *cls, | |||
88 | DENIED, | 88 | DENIED, |
89 | MHD_RESPMEM_PERSISTENT); | 89 | MHD_RESPMEM_PERSISTENT); |
90 | ret = MHD_queue_auth_fail_response(connection, realm, | 90 | ret = MHD_queue_auth_fail_response(connection, realm, |
91 | OPAQUE, | 91 | MY_OPAQUE, |
92 | response, | 92 | response, |
93 | MHD_NO); | 93 | MHD_NO); |
94 | MHD_destroy_response(response); | 94 | MHD_destroy_response(response); |
@@ -108,7 +108,7 @@ ahc_echo (void *cls, | |||
108 | if (NULL == response) | 108 | if (NULL == response) |
109 | return MHD_NO; | 109 | return MHD_NO; |
110 | ret = MHD_queue_auth_fail_response(connection, realm, | 110 | ret = MHD_queue_auth_fail_response(connection, realm, |
111 | OPAQUE, | 111 | MY_OPAQUE, |
112 | response, | 112 | response, |
113 | (ret == MHD_INVALID_NONCE) ? MHD_YES : MHD_NO); | 113 | (ret == MHD_INVALID_NONCE) ? MHD_YES : MHD_NO); |
114 | MHD_destroy_response(response); | 114 | MHD_destroy_response(response); |