aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/test_digestauth_emu_ext.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/test_digestauth_emu_ext.c')
-rw-r--r--src/testcurl/test_digestauth_emu_ext.c4
1 files changed, 2 insertions, 2 deletions
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)