diff options
Diffstat (limited to 'src/examples/digest_auth_example.c')
-rw-r--r-- | src/examples/digest_auth_example.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/examples/digest_auth_example.c b/src/examples/digest_auth_example.c index 4b8fd608..51352022 100644 --- a/src/examples/digest_auth_example.c +++ b/src/examples/digest_auth_example.c | |||
@@ -30,7 +30,7 @@ | |||
30 | 30 | ||
31 | #define DENIED "<html><head><title>libmicrohttpd demo</title></head><body>Access denied</body></html>" | 31 | #define DENIED "<html><head><title>libmicrohttpd demo</title></head><body>Access denied</body></html>" |
32 | 32 | ||
33 | #define OPAQUE_STR "11733b200778ce33060f31c9af70a870ba96ddd4" | 33 | #define MY_OPAQUE_STR "11733b200778ce33060f31c9af70a870ba96ddd4" |
34 | 34 | ||
35 | static int | 35 | static int |
36 | ahc_echo (void *cls, | 36 | ahc_echo (void *cls, |
@@ -53,7 +53,7 @@ ahc_echo (void *cls, | |||
53 | DENIED, | 53 | DENIED, |
54 | MHD_RESPMEM_PERSISTENT); | 54 | MHD_RESPMEM_PERSISTENT); |
55 | ret = MHD_queue_auth_fail_response(connection, realm, | 55 | ret = MHD_queue_auth_fail_response(connection, realm, |
56 | OPAQUE_STR, | 56 | MY_OPAQUE_STR, |
57 | response, | 57 | response, |
58 | MHD_NO); | 58 | MHD_NO); |
59 | MHD_destroy_response(response); | 59 | MHD_destroy_response(response); |
@@ -73,7 +73,7 @@ ahc_echo (void *cls, | |||
73 | if (NULL == response) | 73 | if (NULL == response) |
74 | return MHD_NO; | 74 | return MHD_NO; |
75 | ret = MHD_queue_auth_fail_response(connection, realm, | 75 | ret = MHD_queue_auth_fail_response(connection, realm, |
76 | OPAQUE_STR, | 76 | MY_OPAQUE_STR, |
77 | response, | 77 | response, |
78 | (ret == MHD_INVALID_NONCE) ? MHD_YES : MHD_NO); | 78 | (ret == MHD_INVALID_NONCE) ? MHD_YES : MHD_NO); |
79 | MHD_destroy_response(response); | 79 | MHD_destroy_response(response); |