projects
/
libeap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
WPS: Add more debug info for DH keys
[libeap.git]
/
src
/
wps
/
wps_attr_build.c
diff --git
a/src/wps/wps_attr_build.c
b/src/wps/wps_attr_build.c
index
9da556a
..
9b345f1
100644
(file)
--- a/
src/wps/wps_attr_build.c
+++ b/
src/wps/wps_attr_build.c
@@
-47,6
+47,8
@@
int wps_build_public_key(struct wps_data *wps, struct wpabuf *msg)
wpabuf_free(pubkey);
return -1;
}
+ wpa_hexdump_buf_key(MSG_DEBUG, "WPS: DH Private Key", wps->dh_privkey);
+ wpa_hexdump_buf(MSG_DEBUG, "WPS: DH Public Key", pubkey);
wpabuf_put_be16(msg, ATTR_PUBLIC_KEY);
wpabuf_put_be16(msg, wpabuf_len(pubkey));