diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-12-21 15:09:58 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2002-12-21 15:09:58 +0000 |
| commit | d46e273b14d0cf845aee42346ea2a68ad16be00f (patch) | |
| tree | 562a549428d2f1ee43c0af72a164feeec1b412bb | |
| parent | 148f804340582b997d643b9e280a6fbe0b2d7b5a (diff) | |
Notes
| -rw-r--r-- | crypto/openssh/auth2-pam-freebsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/openssh/auth2-pam-freebsd.c b/crypto/openssh/auth2-pam-freebsd.c index 895ce5a518a03..4094965b97975 100644 --- a/crypto/openssh/auth2-pam-freebsd.c +++ b/crypto/openssh/auth2-pam-freebsd.c @@ -294,6 +294,8 @@ pam_init_ctx(Authctxt *authctxt) xfree(ctxt); return (NULL); } + ctxt->pam_psock = socks[0]; + ctxt->pam_csock = socks[1]; if (pthread_create(&ctxt->pam_thread, NULL, pam_thread, ctxt) == -1) { error("PAM: failed to start authentication thread: %s", strerror(errno)); @@ -302,8 +304,6 @@ pam_init_ctx(Authctxt *authctxt) xfree(ctxt); return (NULL); } - ctxt->pam_psock = socks[0]; - ctxt->pam_csock = socks[1]; fatal_add_cleanup(pam_thread_cleanup, ctxt); return (ctxt); } |
