aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/test_dauth_userhash.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/test_dauth_userhash.c')
-rw-r--r--src/microhttpd/test_dauth_userhash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/microhttpd/test_dauth_userhash.c b/src/microhttpd/test_dauth_userhash.c
index 6e525773..94230acd 100644
--- a/src/microhttpd/test_dauth_userhash.c
+++ b/src/microhttpd/test_dauth_userhash.c
@@ -453,7 +453,7 @@ test_sha256_failure (void)
453 "FAILED: %s() has not returned MHD_NO at line: %u.\n", 453 "FAILED: %s() has not returned MHD_NO at line: %u.\n",
454 func_name, (unsigned) __LINE__); 454 func_name, (unsigned) __LINE__);
455 } 455 }
456 if (MHD_NO == MHD_is_feature_supported (MHD_FEATURE_DIGEST_AUTH_MD5)) 456 if (MHD_NO == MHD_is_feature_supported (MHD_FEATURE_DIGEST_AUTH_SHA256))
457 { 457 {
458 if (MHD_NO != MHD_digest_auth_calc_userhash (algo3, 458 if (MHD_NO != MHD_digest_auth_calc_userhash (algo3,
459 "u", "r", 459 "u", "r",
@@ -487,7 +487,7 @@ test_sha256_failure (void)
487 "FAILED: %s() has not returned MHD_NO at line: %u.\n", 487 "FAILED: %s() has not returned MHD_NO at line: %u.\n",
488 func_name, (unsigned) __LINE__); 488 func_name, (unsigned) __LINE__);
489 } 489 }
490 if (MHD_NO == MHD_is_feature_supported (MHD_FEATURE_DIGEST_AUTH_MD5)) 490 if (MHD_NO == MHD_is_feature_supported (MHD_FEATURE_DIGEST_AUTH_SHA256))
491 { 491 {
492 if (MHD_NO != 492 if (MHD_NO !=
493 MHD_digest_auth_calc_userhash_hex (algo3, 493 MHD_digest_auth_calc_userhash_hex (algo3,