Module: kamailio
Branch: master
Commit: 5ad94e15c2de70c2e0054ed55e8b8b25e27ad76e
URL:
https://github.com/kamailio/kamailio/commit/5ad94e15c2de70c2e0054ed55e8b8b2…
Author: AndreasHuber-CH <andreas.huber(a)nagra.com>
Committer: AndreasHuber-CH <andreas.huber(a)nagra.com>
Date: 2016-05-25T15:44:01+02:00
auth_radius: add NULL for 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. NULL is used (because I didn't find the ha1 value)
which makes that the new feature cannot be used with this module.
---
Modified: modules/auth_radius/authorize.c
---
Diff:
https://github.com/kamailio/kamailio/commit/5ad94e15c2de70c2e0054ed55e8b8b2…
Patch:
https://github.com/kamailio/kamailio/commit/5ad94e15c2de70c2e0054ed55e8b8b2…
---
diff --git a/modules/auth_radius/authorize.c b/modules/auth_radius/authorize.c
index cb26693..18dff11 100644
--- a/modules/auth_radius/authorize.c
+++ b/modules/auth_radius/authorize.c
@@ -172,7 +172,7 @@ static inline int authorize(struct sip_msg* _msg, pv_elem_t* _realm,
}
if (res == 1) {
- switch(auth_api.post_auth(_msg, h)) {
+ switch(auth_api.post_auth(_msg, h, NULL)) {
default:
BUG("unexpected reply '%d'.\n",
auth_api.pre_auth(_msg, &domain, _hftype, &h, NULL));