From d415dd70c56ed88489856a7888cb4acae76615db Mon Sep 17 00:00:00 2001 From: AndreasHuber-CH Date: Wed, 25 May 2016 14:43:39 +0200 Subject: [PATCH] auth_db: add ha1 parameter in auth_api.post_auth auth api was updated to support Authentication-Info header and requires now the ha1 value in post_auth. --- modules/auth_db/authorize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/auth_db/authorize.c b/modules/auth_db/authorize.c index e65a3005f03..0291d019eb9 100644 --- a/modules/auth_db/authorize.c +++ b/modules/auth_db/authorize.c @@ -299,7 +299,7 @@ static int digest_authenticate_hdr(sip_msg_t* msg, str *realm, ret = auth_api.check_response(&(cred->digest), method, ha1); if(ret==AUTHENTICATED) { ret = AUTH_OK; - switch(auth_api.post_auth(msg, h)) { + switch(auth_api.post_auth(msg, h, ha1)) { case AUTHENTICATED: generate_avps(msg, result); break;