Przeglądaj źródła

auth_db: 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.
AndreasHuber-CH 9 lat temu
rodzic
commit
d415dd70c5
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      modules/auth_db/authorize.c

+ 1 - 1
modules/auth_db/authorize.c

@@ -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;