Skip to content

Commit

Permalink
auth_db: 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 e2ee8b5 commit d415dd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/auth_db/authorize.c
Expand Up @@ -299,7 +299,7 @@ static int digest_authenticate_hdr(sip_msg_t* msg, str *realm,
ret = auth_api.check_response(&(cred->digest), method, ha1);
if(ret==AUTHENTICATED) {
ret = AUTH_OK;
switch(auth_api.post_auth(msg, h)) {
switch(auth_api.post_auth(msg, h, ha1)) {
case AUTHENTICATED:
generate_avps(msg, result);
break;
Expand Down

0 comments on commit d415dd7

Please sign in to comment.