aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/jabber/iq.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-10-16 10:21:03 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2006-10-16 10:21:03 +0200
commite7276082fede405633f63d38fe18e010e897a972 (patch)
tree7f0ed9ec60f2596d5f515780de527e75c34b77d0 /protocols/jabber/iq.c
parentaaaed5ea8950bbecee2f4b2d5ead108308c7a45f (diff)
hash_hex buffer for IQ digest authentication missed one byte...
Diffstat (limited to 'protocols/jabber/iq.c')
-rw-r--r--protocols/jabber/iq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/jabber/iq.c b/protocols/jabber/iq.c
index 8a7b3192..ccf9d30c 100644
--- a/protocols/jabber/iq.c
+++ b/protocols/jabber/iq.c
@@ -190,7 +190,7 @@ static xt_status jabber_do_iq_auth( struct gaim_connection *gc, struct xt_node *
/* We can do digest authentication, it seems, and of
course we prefer that. */
SHA_CTX sha;
- char hash_hex[40];
+ char hash_hex[41];
unsigned char hash[20];
int i;