Module: kamailio
Branch: master
Commit: d415dd70c56ed88489856a7888cb4acae76615db
URL:
https://github.com/kamailio/kamailio/commit/d415dd70c56ed88489856a7888cb4ac…
Author: AndreasHuber-CH <andreas.huber(a)nagra.com>
Committer: AndreasHuber-CH <andreas.huber(a)nagra.com>
Date: 2016-05-25T15:37:30+02:00
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.
---
Modified: modules/auth_db/authorize.c
---
Diff:
https://github.com/kamailio/kamailio/commit/d415dd70c56ed88489856a7888cb4ac…
Patch:
https://github.com/kamailio/kamailio/commit/d415dd70c56ed88489856a7888cb4ac…
---
diff --git a/modules/auth_db/authorize.c b/modules/auth_db/authorize.c
index e65a300..0291d01 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;