[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] branch master updated: add clarifying assert that digest
From: |
gnunet |
Subject: |
[libmicrohttpd] branch master updated: add clarifying assert that digest must not be NULL |
Date: |
Wed, 05 Feb 2020 19:30:38 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository libmicrohttpd.
The following commit(s) were added to refs/heads/master by this push:
new a2103adb add clarifying assert that digest must not be NULL
a2103adb is described below
commit a2103adbc4fec800d9b876ca293c94bd4b1dd9ed
Author: Christian Grothoff <address@hidden>
AuthorDate: Wed Feb 5 19:26:54 2020 +0100
add clarifying assert that digest must not be NULL
---
src/microhttpd/digestauth.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/microhttpd/digestauth.c b/src/microhttpd/digestauth.c
index 5a01cdf7..b6a684a4 100644
--- a/src/microhttpd/digestauth.c
+++ b/src/microhttpd/digestauth.c
@@ -1237,6 +1237,7 @@ MHD_digest_auth_check2 (struct MHD_Connection *connection,
{
SETUP_DA (algo, da);
+ mhd_assert (NULL != password);
return digest_auth_check_all (connection,
&da,
realm,
@@ -1275,6 +1276,7 @@ MHD_digest_auth_check_digest2 (struct MHD_Connection
*connection,
{
SETUP_DA (algo, da);
+ mhd_assert (NULL != digest);
if (da.digest_size != digest_size)
MHD_PANIC (_ ("digest size missmatch")); /* API violation! */
return digest_auth_check_all (connection,
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [libmicrohttpd] branch master updated: add clarifying assert that digest must not be NULL,
gnunet <=