DPP: Remove C-sign-key expiry processing
This was removed from the protocol.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
diff --git a/dpp.c b/dpp.c
index 39c4e3e..4a79269 100644
--- a/dpp.c
+++ b/dpp.c
@@ -293,9 +293,6 @@
if (!pos)
return -2;
pos++;
- pos2 = strchr(pos, ' ');
- if (pos2)
- *pos2++ = '\0';
sigma_dut_print(dut, DUT_MSG_INFO, "DPP: C-sign-key: %s", pos);
snprintf(buf2, sizeof(buf2), "SET dpp_csign %s", pos);
if (wpa_command(ifname, buf2) < 0) {
@@ -303,16 +300,6 @@
"errorCode,Failed to update AP C-sign-key");
goto out;
}
- if (pos2) {
- sigma_dut_print(dut, DUT_MSG_INFO, "DPP: C-sign-key expiry: %s",
- pos2);
- snprintf(buf2, sizeof(buf2), "SET dpp_csign_expiry %s", pos2);
- if (wpa_command(ifname, buf2) < 0) {
- send_resp(dut, conn, SIGMA_ERROR,
- "errorCode,Failed to update AP C-sign-key expiry");
- goto out;
- }
- }
res = get_wpa_cli_event(dut, ctrl, "DPP-NET-ACCESS-KEY",
buf, sizeof(buf));