mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
HS 2.0: Record policy update into users table
This makes it easier to track whether a policy update has been successfully completed. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
4939e2bb97
commit
ba7d3fe920
@ -2262,6 +2262,9 @@ static xml_node_t * hs20_spp_update_response(struct hs20_svc *ctx,
|
|||||||
"", dmacc);
|
"", dmacc);
|
||||||
free(val);
|
free(val);
|
||||||
}
|
}
|
||||||
|
if (oper == POLICY_UPDATE)
|
||||||
|
db_update_val(ctx, user, realm, "polupd_done", "1",
|
||||||
|
dmacc);
|
||||||
ret = build_spp_exchange_complete(
|
ret = build_spp_exchange_complete(
|
||||||
ctx, session_id,
|
ctx, session_id,
|
||||||
"Exchange complete, release TLS connection", NULL);
|
"Exchange complete, release TLS connection", NULL);
|
||||||
|
@ -55,7 +55,8 @@ CREATE TABLE users(
|
|||||||
cert_pem TEXT,
|
cert_pem TEXT,
|
||||||
t_c_timestamp INTEGER,
|
t_c_timestamp INTEGER,
|
||||||
mac_addr TEXT,
|
mac_addr TEXT,
|
||||||
last_msk TEXT
|
last_msk TEXT,
|
||||||
|
polupd_done TEXT,
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE wildcards(
|
CREATE TABLE wildcards(
|
||||||
|
Loading…
Reference in New Issue
Block a user