From 5ad94e15c2de70c2e0054ed55e8b8b25e27ad76e Mon Sep 17 00:00:00 2001 From: AndreasHuber-CH Date: Wed, 25 May 2016 14:48:59 +0200 Subject: [PATCH] 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. --- modules/auth_radius/authorize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/auth_radius/authorize.c b/modules/auth_radius/authorize.c index cb266930655..18dff11597f 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));