From e7276082fede405633f63d38fe18e010e897a972 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Mon, 16 Oct 2006 10:21:03 +0200 Subject: hash_hex buffer for IQ digest authentication missed one byte... --- protocols/jabber/iq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols') 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; -- cgit v1.2.3