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.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/testcurl/test_digestauth_emu_ext.c b/src/testcurl/test_digestauth_emu_ext.c
index fc4f4aaa..b3925d13 100644
--- a/src/testcurl/test_digestauth_emu_ext.c
+++ b/src/testcurl/test_digestauth_emu_ext.c
@@ -381,6 +381,10 @@ ahc_echo (void *cls,
381 creds->username); 381 creds->username);
382 mhdErrorExitDesc ("Wrong 'username'"); 382 mhdErrorExitDesc ("Wrong 'username'");
383 } 383 }
384 else if (NULL != creds->userhash_hex)
385 mhdErrorExitDesc ("'userhash_hex' is NOT NULL");
386 else if (0 != creds->userhash_hex_len)
387 mhdErrorExitDesc ("'userhash_hex' is NOT zero");
384 else if (NULL != creds->userhash_bin) 388 else if (NULL != creds->userhash_bin)
385 mhdErrorExitDesc ("'userhash_bin' is NOT NULL"); 389 mhdErrorExitDesc ("'userhash_bin' is NOT NULL");
386 MHD_free (creds); 390 MHD_free (creds);
@@ -415,6 +419,10 @@ ahc_echo (void *cls,
415 dinfo->username); 419 dinfo->username);
416 mhdErrorExitDesc ("Wrong 'username'"); 420 mhdErrorExitDesc ("Wrong 'username'");
417 } 421 }
422 else if (NULL != dinfo->userhash_hex)
423 mhdErrorExitDesc ("'userhash_hex' is NOT NULL");
424 else if (0 != dinfo->userhash_hex_len)
425 mhdErrorExitDesc ("'userhash_hex' is NOT zero");
418 else if (NULL != dinfo->userhash_bin) 426 else if (NULL != dinfo->userhash_bin)
419 mhdErrorExitDesc ("'userhash_bin' is NOT NULL"); 427 mhdErrorExitDesc ("'userhash_bin' is NOT NULL");
420 else if (MHD_DIGEST_AUTH_ALGO3_MD5 != dinfo->algo3) 428 else if (MHD_DIGEST_AUTH_ALGO3_MD5 != dinfo->algo3)