summaryrefslogtreecommitdiff
path: root/daemon
diff options
context:
space:
mode:
Diffstat (limited to 'daemon')
-rw-r--r--daemon/mysql.c4
-rw-r--r--daemon/pgsql.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/daemon/mysql.c b/daemon/mysql.c
index 277162c..e926bb2 100644
--- a/daemon/mysql.c
+++ b/daemon/mysql.c
@@ -515,7 +515,7 @@ static int validate_digest(ha_request_t* rq, const char* user, digest_context_t*
ha_messagex(rq, LOG_DEBUG, "testing clear text password for digest auth");
/* Run the actual check */
- ret = digest_complete_check(dg, rq->buf);
+ ret = digest_complete_check(dg, rq->context, rq->buf);
if(ret != HA_FALSE)
RETURN(ret);
@@ -536,7 +536,7 @@ static int validate_digest(ha_request_t* rq, const char* user, digest_context_t*
foundany = 1;
/* Run the actual check */
- ret = digest_complete_check(dg, rq->buf);
+ ret = digest_complete_check(dg, rq->context, rq->buf);
if(ret != HA_FALSE)
RETURN(ret);
diff --git a/daemon/pgsql.c b/daemon/pgsql.c
index cdafe99..0306cbf 100644
--- a/daemon/pgsql.c
+++ b/daemon/pgsql.c
@@ -558,7 +558,7 @@ static int validate_digest(ha_request_t* rq, const char* user, digest_context_t*
ha_messagex(rq, LOG_DEBUG, "testing clear text password for digest auth");
/* Run the actual check */
- ret = digest_complete_check(dg, rq->buf);
+ ret = digest_complete_check(dg, rq->context, rq->buf);
if(ret != HA_FALSE)
RETURN(ret);
@@ -578,7 +578,7 @@ static int validate_digest(ha_request_t* rq, const char* user, digest_context_t*
foundany = 1;
/* Run the actual check */
- ret = digest_complete_check(dg, rq->buf);
+ ret = digest_complete_check(dg, rq->context, rq->buf);
if(ret != HA_FALSE)
RETURN(ret);