From: Richard Kettlewell Date: Tue, 2 Oct 2007 10:25:30 +0000 (+0100) Subject: correct eclient for new hashes X-Git-Tag: debian-1_5_99dev8~166 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/commitdiff_plain/d7167e899c303d29fd2ae9216cdd524477589ae9 correct eclient for new hashes --- diff --git a/lib/eclient.c b/lib/eclient.c index 7661679..3faf259 100644 --- a/lib/eclient.c +++ b/lib/eclient.c @@ -520,7 +520,7 @@ static void authbanner_opcallback(disorder_eclient *c, algo = *rvec++; --nrvec; } - nonce = unhex(c->line + 4, &nonce_len); + nonce = unhex(rvec[0], &nonce_len); res = authhash(nonce, nonce_len, config->password, algo); if(!res) { protocol_error(c, op, c->rc, "%s: unknown authentication algorithm '%s'",