commit b06f52c0a5e6f4def4c98e951dead5d8ab491ed8
parent 945c5990eac48c6e75b31308fca7dc6e490a4977
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 23 Sep 2013 13:01:42 +0000
-rename OPAQUE to MY_OPAQUE to avoid symbol conflict on W32
Diffstat:
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/examples/digest_auth_example.c b/src/examples/digest_auth_example.c
@@ -30,7 +30,7 @@
#define DENIED "<html><head><title>libmicrohttpd demo</title></head><body>Access denied</body></html>"
-#define OPAQUE_STR "11733b200778ce33060f31c9af70a870ba96ddd4"
+#define MY_OPAQUE_STR "11733b200778ce33060f31c9af70a870ba96ddd4"
static int
ahc_echo (void *cls,
@@ -53,7 +53,7 @@ ahc_echo (void *cls,
DENIED,
MHD_RESPMEM_PERSISTENT);
ret = MHD_queue_auth_fail_response(connection, realm,
- OPAQUE_STR,
+ MY_OPAQUE_STR,
response,
MHD_NO);
MHD_destroy_response(response);
@@ -73,7 +73,7 @@ ahc_echo (void *cls,
if (NULL == response)
return MHD_NO;
ret = MHD_queue_auth_fail_response(connection, realm,
- OPAQUE_STR,
+ MY_OPAQUE_STR,
response,
(ret == MHD_INVALID_NONCE) ? MHD_YES : MHD_NO);
MHD_destroy_response(response);
diff --git a/src/testcurl/test_digestauth.c b/src/testcurl/test_digestauth.c
@@ -44,7 +44,7 @@
#define DENIED "<html><head><title>libmicrohttpd demo</title></head><body>Access denied</body></html>"
-#define OPAQUE "11733b200778ce33060f31c9af70a870ba96ddd4"
+#define MY_OPAQUE "11733b200778ce33060f31c9af70a870ba96ddd4"
struct CBC
{
@@ -88,7 +88,7 @@ ahc_echo (void *cls,
DENIED,
MHD_RESPMEM_PERSISTENT);
ret = MHD_queue_auth_fail_response(connection, realm,
- OPAQUE,
+ MY_OPAQUE,
response,
MHD_NO);
MHD_destroy_response(response);
@@ -108,7 +108,7 @@ ahc_echo (void *cls,
if (NULL == response)
return MHD_NO;
ret = MHD_queue_auth_fail_response(connection, realm,
- OPAQUE,
+ MY_OPAQUE,
response,
(ret == MHD_INVALID_NONCE) ? MHD_YES : MHD_NO);
MHD_destroy_response(response);
diff --git a/src/testcurl/test_digestauth_with_arguments.c b/src/testcurl/test_digestauth_with_arguments.c
@@ -43,7 +43,7 @@
#define DENIED "<html><head><title>libmicrohttpd demo</title></head><body>Access denied</body></html>"
-#define OPAQUE "11733b200778ce33060f31c9af70a870ba96ddd4"
+#define MY_OPAQUE "11733b200778ce33060f31c9af70a870ba96ddd4"
struct CBC
{
@@ -87,7 +87,7 @@ ahc_echo (void *cls,
DENIED,
MHD_RESPMEM_PERSISTENT);
ret = MHD_queue_auth_fail_response(connection, realm,
- OPAQUE,
+ MY_OPAQUE,
response,
MHD_NO);
MHD_destroy_response(response);
@@ -107,7 +107,7 @@ ahc_echo (void *cls,
if (NULL == response)
return MHD_NO;
ret = MHD_queue_auth_fail_response(connection, realm,
- OPAQUE,
+ MY_OPAQUE,
response,
(ret == MHD_INVALID_NONCE) ? MHD_YES : MHD_NO);
MHD_destroy_response(response);