aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/test_digestauth2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/test_digestauth2.c')
-rw-r--r--src/testcurl/test_digestauth2.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/testcurl/test_digestauth2.c b/src/testcurl/test_digestauth2.c
index ff82eeb8..800d57b2 100644
--- a/src/testcurl/test_digestauth2.c
+++ b/src/testcurl/test_digestauth2.c
@@ -799,6 +799,8 @@ ahc_echo (void *cls,
799 check_res); 799 check_res);
800 mhdErrorExitDesc ("Impossible returned code"); 800 mhdErrorExitDesc ("Impossible returned code");
801 } 801 }
802 fflush (stderr);
803 fflush (stdout);
802 804
803 if (MHD_DAUTH_OK == check_res) 805 if (MHD_DAUTH_OK == check_res)
804 { 806 {
@@ -832,7 +834,7 @@ ahc_echo (void *cls,
832 mhdErrorExitDesc ("'MHD_queue_auth_required_response3()' failed"); 834 mhdErrorExitDesc ("'MHD_queue_auth_required_response3()' failed");
833 } 835 }
834 else 836 else
835 mhdErrorExitDesc ("Wrong 'check_res' value"); 837 externalErrorExitDesc ("Wrong 'check_res' value");
836 } 838 }
837 else 839 else
838 { 840 {
@@ -960,7 +962,7 @@ ahc_echo (void *cls,
960 MHD_DIGEST_ALG_SHA256 : 962 MHD_DIGEST_ALG_SHA256 :
961 MHD_DIGEST_ALG_MD5); 963 MHD_DIGEST_ALG_MD5);
962 if (MHD_YES != res) 964 if (MHD_YES != res)
963 mhdErrorExitDesc ("'MHD_queue_auth_fail_response()' failed"); 965 mhdErrorExitDesc ("'MHD_queue_auth_fail_response2()' failed");
964 } 966 }
965 } 967 }
966 else if (1 == test_oldapi) 968 else if (1 == test_oldapi)