gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] 08/09: test_dauth_user{digest, hash}: fixed copy-paste e


From: gnunet
Subject: [libmicrohttpd] 08/09: test_dauth_user{digest, hash}: fixed copy-paste errors
Date: Sun, 11 Sep 2022 19:56:10 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

commit 9fa5a3b990f93b94557bc2f52aaff8db241702a7
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sun Sep 11 15:44:10 2022 +0300

    test_dauth_user{digest,hash}: fixed copy-paste errors
---
 src/microhttpd/test_dauth_userdigest.c | 4 ++--
 src/microhttpd/test_dauth_userhash.c   | 4 ++--
 2 files changed, 4 insertions(+), 4 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)
              "FAILED: %s() has not returned MHD_NO at line: %u.\n",
              func_name, (unsigned) __LINE__);
   }
-  if (MHD_NO == MHD_is_feature_supported (MHD_FEATURE_DIGEST_AUTH_MD5))
+  if (MHD_NO == MHD_is_feature_supported (MHD_FEATURE_DIGEST_AUTH_SHA256))
   {
     if (MHD_NO != MHD_digest_auth_calc_userhash (algo3,
                                                  "u", "r",
@@ -390,7 +390,7 @@ test_sha256_failure (void)
              "FAILED: %s() has not returned MHD_NO at line: %u.\n",
              func_name, (unsigned) __LINE__);
   }
-  if (MHD_NO == MHD_is_feature_supported (MHD_FEATURE_DIGEST_AUTH_MD5))
+  if (MHD_NO == MHD_is_feature_supported (MHD_FEATURE_DIGEST_AUTH_SHA256))
   {
     if (MHD_NO !=
         MHD_digest_auth_calc_userhash_hex (algo3,
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)
              "FAILED: %s() has not returned MHD_NO at line: %u.\n",
              func_name, (unsigned) __LINE__);
   }
-  if (MHD_NO == MHD_is_feature_supported (MHD_FEATURE_DIGEST_AUTH_MD5))
+  if (MHD_NO == MHD_is_feature_supported (MHD_FEATURE_DIGEST_AUTH_SHA256))
   {
     if (MHD_NO != MHD_digest_auth_calc_userhash (algo3,
                                                  "u", "r",
@@ -487,7 +487,7 @@ test_sha256_failure (void)
              "FAILED: %s() has not returned MHD_NO at line: %u.\n",
              func_name, (unsigned) __LINE__);
   }
-  if (MHD_NO == MHD_is_feature_supported (MHD_FEATURE_DIGEST_AUTH_MD5))
+  if (MHD_NO == MHD_is_feature_supported (MHD_FEATURE_DIGEST_AUTH_SHA256))
   {
     if (MHD_NO !=
         MHD_digest_auth_calc_userhash_hex (algo3,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]