aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2017-07-02 09:36:01 (GMT)
committerJouni Malinen <j@w1.fi>2017-07-02 06:35:00 (GMT)
commitf1f4fa797277cb2519d406a2ee4a15a2a9462bf2 (patch)
tree2f4016f083a21b27b8449993f1ad1fe37424a0ce /src
parentb04854ceffac340c7919cb70ce5104825a7c16a8 (diff)
downloadhostap-f1f4fa797277cb2519d406a2ee4a15a2a9462bf2.zip
hostap-f1f4fa797277cb2519d406a2ee4a15a2a9462bf2.tar.gz
hostap-f1f4fa797277cb2519d406a2ee4a15a2a9462bf2.tar.bz2
DPP: Fix JWK debug prints
This function is used for parsing both the C-sign-key and netAccessKey, so better not imply that all cases are C-sign-key in the debug prints. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src')
-rw-r--r--src/common/dpp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/dpp.c b/src/common/dpp.c
index 361a9d7..f564929 100644
--- a/src/common/dpp.c
+++ b/src/common/dpp.c
@@ -3364,10 +3364,10 @@ static EVP_PKEY * dpp_parse_jwk(struct json_token *jwk,
wpa_printf(MSG_DEBUG, "DPP: No x in JWK");
goto fail;
}
- wpa_hexdump_buf(MSG_DEBUG, "DPP: C-sign x", x);
+ wpa_hexdump_buf(MSG_DEBUG, "DPP: JWK x", x);
if (wpabuf_len(x) != curve->prime_len) {
wpa_printf(MSG_DEBUG,
- "DPP: Unexpected C-sign x length %u (expected %u for curve %s)",
+ "DPP: Unexpected JWK x length %u (expected %u for curve %s)",
(unsigned int) wpabuf_len(x),
(unsigned int) curve->prime_len, curve->name);
goto fail;
@@ -3378,10 +3378,10 @@ static EVP_PKEY * dpp_parse_jwk(struct json_token *jwk,
wpa_printf(MSG_DEBUG, "DPP: No y in JWK");
goto fail;
}
- wpa_hexdump_buf(MSG_DEBUG, "DPP: C-sign y", y);
+ wpa_hexdump_buf(MSG_DEBUG, "DPP: JWK y", y);
if (wpabuf_len(y) != curve->prime_len) {
wpa_printf(MSG_DEBUG,
- "DPP: Unexpected C-sign y length %u (expected %u for curve %s)",
+ "DPP: Unexpected JWK y length %u (expected %u for curve %s)",
(unsigned int) wpabuf_len(y),
(unsigned int) curve->prime_len, curve->name);
goto fail;