diff options
Diffstat (limited to 'src/testcurl/test_digestauth2.c')
-rw-r--r-- | src/testcurl/test_digestauth2.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/testcurl/test_digestauth2.c b/src/testcurl/test_digestauth2.c index e3c12d85..dc6c4cb4 100644 --- a/src/testcurl/test_digestauth2.c +++ b/src/testcurl/test_digestauth2.c | |||
@@ -550,11 +550,11 @@ ahc_echo (void *cls, | |||
550 | } | 550 | } |
551 | if (algo3 != dinfo->algo3) | 551 | if (algo3 != dinfo->algo3) |
552 | { | 552 | { |
553 | fprintf (stderr, "Unexpected 'algo'.\n" | 553 | fprintf (stderr, "Unexpected 'algo3'.\n" |
554 | "Expected: %d\tRecieved: %d. ", | 554 | "Expected: %d\tRecieved: %d. ", |
555 | (int) algo3, | 555 | (int) algo3, |
556 | (int) dinfo->algo3); | 556 | (int) dinfo->algo3); |
557 | mhdErrorExitDesc ("Wrong 'algo'"); | 557 | mhdErrorExitDesc ("Wrong 'algo3'"); |
558 | } | 558 | } |
559 | if (! test_rfc2069) | 559 | if (! test_rfc2069) |
560 | { | 560 | { |
@@ -692,6 +692,14 @@ ahc_echo (void *cls, | |||
692 | else if (NULL != uname->userhash_bin) | 692 | else if (NULL != uname->userhash_bin) |
693 | mhdErrorExitDesc ("'userhash_bin' is NOT NULL"); | 693 | mhdErrorExitDesc ("'userhash_bin' is NOT NULL"); |
694 | } | 694 | } |
695 | if (algo3 != uname->algo3) | ||
696 | { | ||
697 | fprintf (stderr, "Unexpected 'algo3'.\n" | ||
698 | "Expected: %d\tRecieved: %d. ", | ||
699 | (int) algo3, | ||
700 | (int) uname->algo3); | ||
701 | mhdErrorExitDesc ("Wrong 'algo3'"); | ||
702 | } | ||
695 | MHD_free (uname); | 703 | MHD_free (uname); |
696 | 704 | ||
697 | if (! test_userdigest) | 705 | if (! test_userdigest) |