diff options
-rw-r--r-- | server/responder/pam/pamsrv_cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/responder/pam/pamsrv_cmd.c b/server/responder/pam/pamsrv_cmd.c index e229862c..45f44c3e 100644 --- a/server/responder/pam/pamsrv_cmd.c +++ b/server/responder/pam/pamsrv_cmd.c @@ -172,6 +172,8 @@ static void pam_reply(struct pam_auth_req *preq) } } + cctx = preq->cctx; + if (pd->response_delay > 0) { ret = gettimeofday(&tv, NULL); if (ret != EOK) { @@ -194,8 +196,6 @@ static void pam_reply(struct pam_auth_req *preq) return; } - cctx = preq->cctx; - ret = sss_packet_new(cctx->creq, 0, sss_packet_get_cmd(cctx->creq->in), &cctx->creq->out); if (ret != EOK) { |