aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/test_digestauth_with_arguments.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/test_digestauth_with_arguments.c')
-rw-r--r--src/testcurl/test_digestauth_with_arguments.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testcurl/test_digestauth_with_arguments.c b/src/testcurl/test_digestauth_with_arguments.c
index fb99fb7a..44137c7b 100644
--- a/src/testcurl/test_digestauth_with_arguments.c
+++ b/src/testcurl/test_digestauth_with_arguments.c
@@ -43,7 +43,7 @@
43 43
44#define DENIED "<html><head><title>libmicrohttpd demo</title></head><body>Access denied</body></html>" 44#define DENIED "<html><head><title>libmicrohttpd demo</title></head><body>Access denied</body></html>"
45 45
46#define OPAQUE "11733b200778ce33060f31c9af70a870ba96ddd4" 46#define MY_OPAQUE "11733b200778ce33060f31c9af70a870ba96ddd4"
47 47
48struct CBC 48struct CBC
49{ 49{
@@ -87,7 +87,7 @@ ahc_echo (void *cls,
87 DENIED, 87 DENIED,
88 MHD_RESPMEM_PERSISTENT); 88 MHD_RESPMEM_PERSISTENT);
89 ret = MHD_queue_auth_fail_response(connection, realm, 89 ret = MHD_queue_auth_fail_response(connection, realm,
90 OPAQUE, 90 MY_OPAQUE,
91 response, 91 response,
92 MHD_NO); 92 MHD_NO);
93 MHD_destroy_response(response); 93 MHD_destroy_response(response);
@@ -107,7 +107,7 @@ ahc_echo (void *cls,
107 if (NULL == response) 107 if (NULL == response)
108 return MHD_NO; 108 return MHD_NO;
109 ret = MHD_queue_auth_fail_response(connection, realm, 109 ret = MHD_queue_auth_fail_response(connection, realm,
110 OPAQUE, 110 MY_OPAQUE,
111 response, 111 response,
112 (ret == MHD_INVALID_NONCE) ? MHD_YES : MHD_NO); 112 (ret == MHD_INVALID_NONCE) ? MHD_YES : MHD_NO);
113 MHD_destroy_response(response); 113 MHD_destroy_response(response);