aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/test_dauth_userdigest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/test_dauth_userdigest.c')
-rw-r--r--src/microhttpd/test_dauth_userdigest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/test_dauth_userdigest.c b/src/microhttpd/test_dauth_userdigest.c
index 3af45156..10bf0515 100644
--- a/src/microhttpd/test_dauth_userdigest.c
+++ b/src/microhttpd/test_dauth_userdigest.c
@@ -356,7 +356,7 @@ test_sha256_failure (void)
356 "FAILED: %s() has not returned MHD_NO at line: %u.\n", 356 "FAILED: %s() has not returned MHD_NO at line: %u.\n",
357 func_name, (unsigned) __LINE__); 357 func_name, (unsigned) __LINE__);
358 } 358 }
359 if (MHD_NO == MHD_is_feature_supported (MHD_FEATURE_DIGEST_AUTH_MD5)) 359 if (MHD_NO == MHD_is_feature_supported (MHD_FEATURE_DIGEST_AUTH_SHA256))
360 { 360 {
361 if (MHD_NO != MHD_digest_auth_calc_userhash (algo3, 361 if (MHD_NO != MHD_digest_auth_calc_userhash (algo3,
362 "u", "r", 362 "u", "r",
@@ -390,7 +390,7 @@ test_sha256_failure (void)
390 "FAILED: %s() has not returned MHD_NO at line: %u.\n", 390 "FAILED: %s() has not returned MHD_NO at line: %u.\n",
391 func_name, (unsigned) __LINE__); 391 func_name, (unsigned) __LINE__);
392 } 392 }
393 if (MHD_NO == MHD_is_feature_supported (MHD_FEATURE_DIGEST_AUTH_MD5)) 393 if (MHD_NO == MHD_is_feature_supported (MHD_FEATURE_DIGEST_AUTH_SHA256))
394 { 394 {
395 if (MHD_NO != 395 if (MHD_NO !=
396 MHD_digest_auth_calc_userhash_hex (algo3, 396 MHD_digest_auth_calc_userhash_hex (algo3,