Skip to content

Commit

Permalink
auth_ephemeral: add ha1 parameter in auth_api.post_auth
Browse files Browse the repository at this point in the history
auth api was updated to support Authentication-Info header and requires
now the ha1 value in post_auth.
  • Loading branch information
AndreasHuber-CH committed May 25, 2016
1 parent d415dd7 commit 32ef6df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/auth_ephemeral/authorize.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit 32ef6df

Please sign in to comment.