From: Pekka Pessi <pekka.pe...@nokia.com> --- gatchat/ppp_auth.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gatchat/ppp_auth.c b/gatchat/ppp_auth.c index fe3c501..1e0c82b 100644 --- a/gatchat/ppp_auth.c +++ b/gatchat/ppp_auth.c @@ -107,7 +107,7 @@ static void chap_process_challenge(struct auth_data *auth, guint8 *packet) response->length = htons(response_length); response->data[0] = digest_len; g_checksum_get_digest(checksum, &response->data[1], - (gsize *) &response->data[0]); + &digest_len); /* leave the name empty? */ } -- 1.6.3.3 _______________________________________________ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono