wolfssl: Fix compiler warnings on size_t printf format use
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
f2dbaa8ace
commit
6a28c4dbc1
1 changed files with 2 additions and 2 deletions
|
@ -1741,7 +1741,7 @@ struct wpabuf * tls_connection_encrypt(void *tls_ctx,
|
|||
if (!conn)
|
||||
return NULL;
|
||||
|
||||
wpa_printf(MSG_DEBUG, "SSL: encrypt: %ld bytes", wpabuf_len(in_data));
|
||||
wpa_printf(MSG_DEBUG, "SSL: encrypt: %zu bytes", wpabuf_len(in_data));
|
||||
|
||||
wolfssl_reset_out_data(&conn->output);
|
||||
|
||||
|
@ -1792,7 +1792,7 @@ struct wpabuf * tls_connection_decrypt(void *tls_ctx,
|
|||
}
|
||||
wpabuf_put(buf, res);
|
||||
|
||||
wpa_printf(MSG_DEBUG, "SSL: decrypt: %ld bytes", wpabuf_len(buf));
|
||||
wpa_printf(MSG_DEBUG, "SSL: decrypt: %zu bytes", wpabuf_len(buf));
|
||||
|
||||
return buf;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue