mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
HS 2.0 server: Do not perform subrem if not requested to
Instead of defaulting to machine remediation, reject a request to do subscription remediation if that has not been configured to be required. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
7770a9dd6a
commit
dd76afff65
@ -947,8 +947,10 @@ static xml_node_t * hs20_subscription_remediation(struct hs20_svc *ctx,
|
|||||||
redirect_uri);
|
redirect_uri);
|
||||||
else if (type && strcmp(type, "policy") == 0)
|
else if (type && strcmp(type, "policy") == 0)
|
||||||
ret = policy_remediation(ctx, user, realm, session_id, dmacc);
|
ret = policy_remediation(ctx, user, realm, session_id, dmacc);
|
||||||
else
|
else if (type && strcmp(type, "machine") == 0)
|
||||||
ret = machine_remediation(ctx, user, realm, session_id, dmacc);
|
ret = machine_remediation(ctx, user, realm, session_id, dmacc);
|
||||||
|
else
|
||||||
|
ret = no_sub_rem(ctx, user, realm, session_id);
|
||||||
free(type);
|
free(type);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user