[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.
- [libmicrohttpd] branch master updated (2699d278 -> 8318f56e), gnunet, 2022/09/11
- [libmicrohttpd] 02/09: Editorial doxy improvements, gnunet, 2022/09/11
- [libmicrohttpd] 05/09: mhd_bithelpers: added more 64 bit manipulation functions/macros, gnunet, 2022/09/11
- [libmicrohttpd] 06/09: microhttpd.h: fixed typo in doxy, gnunet, 2022/09/11
- [libmicrohttpd] 01/09: Digest Auth API: do not store 'userhash' in 'username' members, gnunet, 2022/09/11
- [libmicrohttpd] 07/09: Implemented SHA-512/256 hashing support, gnunet, 2022/09/11
- [libmicrohttpd] 09/09: digestauth: added support for SHA-512/256, made MD5 and SHA-256 optional, gnunet, 2022/09/11
- [libmicrohttpd] 04/09: mhd_bithelpers: Fixed typo in comment, gnunet, 2022/09/11
- [libmicrohttpd] 08/09: test_dauth_user{digest, hash}: fixed copy-paste errors,
gnunet <=
- [libmicrohttpd] 03/09: configure: fixed underquoting, typos, wording, gnunet, 2022/09/11