aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2023-12-29 16:56:12 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2023-12-29 16:57:15 +0300
commite0d8708b33bf021d5059ae7d481b5fab55a1661e (patch)
tree8f91f343ae816b4d6679da22241430fa86b27872
parentce1ea19549c8e96f43bfd4b007cb8573fbca5be5 (diff)
downloadlibmicrohttpd-e0d8708b33bf021d5059ae7d481b5fab55a1661e.tar.gz
libmicrohttpd-e0d8708b33bf021d5059ae7d481b5fab55a1661e.zip
tests: added setting of DAuth max nc value by daemon option
-rw-r--r--src/testcurl/test_digestauth.c1
-rw-r--r--src/testcurl/test_digestauth_concurrent.c1
-rw-r--r--src/testcurl/test_digestauth_sha256.c1
-rw-r--r--src/testcurl/test_digestauth_with_arguments.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/src/testcurl/test_digestauth.c b/src/testcurl/test_digestauth.c
index 386b66a2..4fe9b847 100644
--- a/src/testcurl/test_digestauth.c
+++ b/src/testcurl/test_digestauth.c
@@ -454,6 +454,7 @@ testDigestAuth (void)
454 &ahc_echo, NULL, 454 &ahc_echo, NULL,
455 MHD_OPTION_DIGEST_AUTH_RANDOM, sizeof (rnd), rnd, 455 MHD_OPTION_DIGEST_AUTH_RANDOM, sizeof (rnd), rnd,
456 MHD_OPTION_NONCE_NC_SIZE, 300, 456 MHD_OPTION_NONCE_NC_SIZE, 300,
457 MHD_OPTION_DIGEST_AUTH_DEFAULT_MAX_NC, (uint32_t) 999,
457 MHD_OPTION_END); 458 MHD_OPTION_END);
458 if (d == NULL) 459 if (d == NULL)
459 return 1; 460 return 1;
diff --git a/src/testcurl/test_digestauth_concurrent.c b/src/testcurl/test_digestauth_concurrent.c
index 87939a77..0e71ca39 100644
--- a/src/testcurl/test_digestauth_concurrent.c
+++ b/src/testcurl/test_digestauth_concurrent.c
@@ -591,6 +591,7 @@ testDigestAuth (void)
591 MHD_OPTION_NONCE_NC_SIZE, 300, 591 MHD_OPTION_NONCE_NC_SIZE, 300,
592 MHD_OPTION_THREAD_POOL_SIZE, 592 MHD_OPTION_THREAD_POOL_SIZE,
593 (unsigned int) (sizeof(workers) / sizeof(workers[0])), 593 (unsigned int) (sizeof(workers) / sizeof(workers[0])),
594 MHD_OPTION_DIGEST_AUTH_DEFAULT_MAX_NC, (uint32_t) 999,
594 MHD_OPTION_END); 595 MHD_OPTION_END);
595 if (d == NULL) 596 if (d == NULL)
596 return 1; 597 return 1;
diff --git a/src/testcurl/test_digestauth_sha256.c b/src/testcurl/test_digestauth_sha256.c
index 26121ace..be879334 100644
--- a/src/testcurl/test_digestauth_sha256.c
+++ b/src/testcurl/test_digestauth_sha256.c
@@ -244,6 +244,7 @@ testDigestAuth (void)
244 &ahc_echo, NULL, 244 &ahc_echo, NULL,
245 MHD_OPTION_DIGEST_AUTH_RANDOM, sizeof (rnd), rnd, 245 MHD_OPTION_DIGEST_AUTH_RANDOM, sizeof (rnd), rnd,
246 MHD_OPTION_NONCE_NC_SIZE, 300, 246 MHD_OPTION_NONCE_NC_SIZE, 300,
247 MHD_OPTION_DIGEST_AUTH_DEFAULT_MAX_NC, (uint32_t) 999,
247 MHD_OPTION_END); 248 MHD_OPTION_END);
248 if (d == NULL) 249 if (d == NULL)
249 return 1; 250 return 1;
diff --git a/src/testcurl/test_digestauth_with_arguments.c b/src/testcurl/test_digestauth_with_arguments.c
index ba9c45ee..280979c7 100644
--- a/src/testcurl/test_digestauth_with_arguments.c
+++ b/src/testcurl/test_digestauth_with_arguments.c
@@ -225,6 +225,7 @@ testDigestAuth (void)
225 port, NULL, NULL, &ahc_echo, NULL, 225 port, NULL, NULL, &ahc_echo, NULL,
226 MHD_OPTION_DIGEST_AUTH_RANDOM, sizeof (rnd), rnd, 226 MHD_OPTION_DIGEST_AUTH_RANDOM, sizeof (rnd), rnd,
227 MHD_OPTION_NONCE_NC_SIZE, 300, 227 MHD_OPTION_NONCE_NC_SIZE, 300,
228 MHD_OPTION_DIGEST_AUTH_DEFAULT_MAX_NC, (uint32_t) 999,
228 MHD_OPTION_END); 229 MHD_OPTION_END);
229 if (d == NULL) 230 if (d == NULL)
230 return 1; 231 return 1;