X-Git-Url: https://git.distorted.org.uk/~mdw/tripe/blobdiff_plain/04ed79b8ad88991517755598c5e8872380ec3dde..5290b9d5791238de2e19ec479087bda6e3c787e2:/server/chal.c diff --git a/server/chal.c b/server/chal.c index e282f085..387f0db1 100644 --- a/server/chal.c +++ b/server/chal.c @@ -124,7 +124,7 @@ int c_check(buf *b) goto fail; } seq = LOAD32(p); - if (seq_check(&iseq, LOAD32(p), "CHAL")) + if (seq_check(&iseq, seq, "CHAL")) goto fail; T( trace(T_CHAL, "chal: checked challenge %lu", (unsigned long)seq); ) return (0);