]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
WPS: Make DH debug prints easier to understand
authorJouni Malinen <jouni.malinen@atheros.com>
Sun, 27 Jun 2010 04:06:44 +0000 (21:06 -0700)
committerJouni Malinen <j@w1.fi>
Wed, 11 Aug 2010 15:02:39 +0000 (18:02 +0300)
src/wps/wps_attr_build.c
src/wps/wps_common.c

index 9b345f11b5162591a53c7dc5ad38014dad236271..19ff8218cd5f96071433d64393c0122ee7bab53b 100644 (file)
@@ -48,7 +48,7 @@ int wps_build_public_key(struct wps_data *wps, struct wpabuf *msg)
                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);
+       wpa_hexdump_buf(MSG_DEBUG, "WPS: DH own Public Key", pubkey);
 
        wpabuf_put_be16(msg, ATTR_PUBLIC_KEY);
        wpabuf_put_be16(msg, wpabuf_len(pubkey));
index f7cb7b832bbde8202f09e0084f033abbe20679eb..b74853c26ddfaf30c5ce9aec5d5bf2c211fb432e 100644 (file)
@@ -82,7 +82,7 @@ int wps_derive_keys(struct wps_data *wps)
        }
 
        wpa_hexdump_buf_key(MSG_DEBUG, "WPS: DH Private Key", wps->dh_privkey);
-       wpa_hexdump_buf(MSG_DEBUG, "WPS: DH Public Key", pubkey);
+       wpa_hexdump_buf(MSG_DEBUG, "WPS: DH peer Public Key", pubkey);
        dh_shared = dh5_derive_shared(wps->dh_ctx, pubkey, wps->dh_privkey);
        dh5_free(wps->dh_ctx);
        wps->dh_ctx = NULL;