[sr-dev] git:master:32ef6dfc: auth_ephemeral: add ha1 parameter in auth_api.post_auth
AndreasHuber-CH
andreas.huber at nagra.com
Wed May 25 21:42:22 CEST 2016
Module: kamailio
Branch: master
Commit: 32ef6dfc9b8f02a7c57b653c033592b2e02056a5
URL: https://github.com/kamailio/kamailio/commit/32ef6dfc9b8f02a7c57b653c033592b2e02056a5
Author: AndreasHuber-CH <andreas.huber at nagra.com>
Committer: AndreasHuber-CH <andreas.huber at nagra.com>
Date: 2016-05-25T15:37:41+02:00
auth_ephemeral: 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_ephemeral/authorize.c
---
Diff: https://github.com/kamailio/kamailio/commit/32ef6dfc9b8f02a7c57b653c033592b2e02056a5.diff
Patch: https://github.com/kamailio/kamailio/commit/32ef6dfc9b8f02a7c57b653c033592b2e02056a5.patch
---
diff --git a/modules/auth_ephemeral/authorize.c b/modules/auth_ephemeral/authorize.c
index fcd8de0..5725d7f 100644
--- a/modules/auth_ephemeral/authorize.c
+++ b/modules/auth_ephemeral/authorize.c
@@ -101,7 +101,7 @@ static inline int do_auth(struct sip_msg *_m, struct hdr_field *_h, str *_realm,
ret = eph_auth_api.check_response(&cred->digest, _method, ha1);
if (ret == AUTHENTICATED)
{
- if (eph_auth_api.post_auth(_m, _h) != AUTHENTICATED)
+ if (eph_auth_api.post_auth(_m, _h, ha1) != AUTHENTICATED)
{
return AUTH_ERROR;
}
More information about the sr-dev
mailing list