aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-08-25 20:02:30 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2022-08-25 20:04:47 +0300
commita2916400661cb7c468af5744ea284ec9157abac9 (patch)
tree6ff41ef1d6e94544293226fe9bccee51c96a8a57 /src/testcurl
parent5e5efd92797e01595ea69826cde808d8e13ae26e (diff)
downloadlibmicrohttpd-a2916400661cb7c468af5744ea284ec9157abac9.tar.gz
libmicrohttpd-a2916400661cb7c468af5744ea284ec9157abac9.zip
digestauth: keep results of algo and QOP parsing, renamed public struct member
Diffstat (limited to 'src/testcurl')
-rw-r--r--src/testcurl/test_digestauth2.c4
-rw-r--r--src/testcurl/test_digestauth_emu_ext.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/testcurl/test_digestauth2.c b/src/testcurl/test_digestauth2.c
index 800d57b2..e3c12d85 100644
--- a/src/testcurl/test_digestauth2.c
+++ b/src/testcurl/test_digestauth2.c
@@ -548,12 +548,12 @@ ahc_echo (void *cls,
548 else if (NULL != dinfo->userhash_bin) 548 else if (NULL != dinfo->userhash_bin)
549 mhdErrorExitDesc ("'userhash_bin' is NOT NULL"); 549 mhdErrorExitDesc ("'userhash_bin' is NOT NULL");
550 } 550 }
551 if (algo3 != dinfo->algo) 551 if (algo3 != dinfo->algo3)
552 { 552 {
553 fprintf (stderr, "Unexpected 'algo'.\n" 553 fprintf (stderr, "Unexpected 'algo'.\n"
554 "Expected: %d\tRecieved: %d. ", 554 "Expected: %d\tRecieved: %d. ",
555 (int) algo3, 555 (int) algo3,
556 (int) dinfo->algo); 556 (int) dinfo->algo3);
557 mhdErrorExitDesc ("Wrong 'algo'"); 557 mhdErrorExitDesc ("Wrong 'algo'");
558 } 558 }
559 if (! test_rfc2069) 559 if (! test_rfc2069)
diff --git a/src/testcurl/test_digestauth_emu_ext.c b/src/testcurl/test_digestauth_emu_ext.c
index 468279ca..fc4f4aaa 100644
--- a/src/testcurl/test_digestauth_emu_ext.c
+++ b/src/testcurl/test_digestauth_emu_ext.c
@@ -417,12 +417,12 @@ ahc_echo (void *cls,
417 } 417 }
418 else if (NULL != dinfo->userhash_bin) 418 else if (NULL != dinfo->userhash_bin)
419 mhdErrorExitDesc ("'userhash_bin' is NOT NULL"); 419 mhdErrorExitDesc ("'userhash_bin' is NOT NULL");
420 else if (MHD_DIGEST_AUTH_ALGO3_MD5 != dinfo->algo) 420 else if (MHD_DIGEST_AUTH_ALGO3_MD5 != dinfo->algo3)
421 { 421 {
422 fprintf (stderr, "Unexpected 'algo'.\n" 422 fprintf (stderr, "Unexpected 'algo'.\n"
423 "Expected: %d\tRecieved: %d. ", 423 "Expected: %d\tRecieved: %d. ",
424 (int) MHD_DIGEST_AUTH_ALGO3_MD5, 424 (int) MHD_DIGEST_AUTH_ALGO3_MD5,
425 (int) dinfo->algo); 425 (int) dinfo->algo3);
426 mhdErrorExitDesc ("Wrong 'algo'"); 426 mhdErrorExitDesc ("Wrong 'algo'");
427 } 427 }
428 else if (MHD_STATICSTR_LEN_ (CNONCE_EMU) != dinfo->cnonce_len) 428 else if (MHD_STATICSTR_LEN_ (CNONCE_EMU) != dinfo->cnonce_len)