This is especially embarrassing because the only other reason the
sequence number is loaded is for a trace message. This was discovered
from compiler warning about `seq' being unused when tracing is disabled.
goto fail;
}
seq = LOAD32(p);
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);
goto fail;
T( trace(T_CHAL, "chal: checked challenge %lu", (unsigned long)seq); )
return (0);