Module: kamailio Branch: master Commit: 4442bedb85e4baadceed610e394e63c03b011657 URL: https://github.com/kamailio/kamailio/commit/4442bedb85e4baadceed610e394e63c0...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2015-01-21T22:31:10+01:00
Merge pull request #49 from mamikk/pvauth-checks-fix
auth: use correct parameter for pv_auth_check checks
---
Modified: modules/auth/auth_mod.c
---
Diff: https://github.com/kamailio/kamailio/commit/4442bedb85e4baadceed610e394e63c0... Patch: https://github.com/kamailio/kamailio/commit/4442bedb85e4baadceed610e394e63c0...
---
diff --git a/modules/auth/auth_mod.c b/modules/auth/auth_mod.c index f4b74b1..fe57a89 100644 --- a/modules/auth/auth_mod.c +++ b/modules/auth/auth_mod.c @@ -755,7 +755,7 @@ static int pv_auth_check(sip_msg_t *msg, char *realm, ret = pv_authenticate(msg, &srealm, &spasswd, vflags, HDR_PROXYAUTH_T, &msg->first_line.u.request.method);
- if(ret==AUTH_OK && (vflags&AUTH_CHECK_ID_F)) { + if(ret==AUTH_OK && (vchecks&AUTH_CHECK_ID_F)) { hdr = (msg->proxy_auth==0)?msg->authorization:msg->proxy_auth; srealm = ((auth_body_t*)(hdr->parsed))->digest.username.user;