DPP3: Add version member to Connector
Indicate the protocol version number that the Enrollee used during the DPP exchange that resulted in the generation of the Connector. Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
77ddd38b66
commit
0cfb726895
1 changed files with 4 additions and 0 deletions
|
@ -1504,6 +1504,10 @@ skip_groups:
|
|||
json_value_sep(dppcon);
|
||||
json_add_string(dppcon, "expiry", expiry);
|
||||
}
|
||||
#ifdef CONFIG_DPP3
|
||||
json_value_sep(dppcon);
|
||||
json_add_int(dppcon, "version", auth->peer_version);
|
||||
#endif /* CONFIG_DPP3 */
|
||||
json_end_object(dppcon);
|
||||
wpa_printf(MSG_DEBUG, "DPP: dppCon: %s",
|
||||
(const char *) wpabuf_head(dppcon));
|
||||
|
|
Loading…
Reference in a new issue