| Summary: | compilation faills in auth1.c:392 `pw' undeclared when USE_PAM is on | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Kent Engström <kent> |
| Component: | Miscellaneous | Assignee: | OpenSSH Bugzilla mailing list <openssh-bugs> |
| Status: | CLOSED FIXED | ||
| Severity: | critical | ||
| Priority: | P2 | ||
| Version: | -current | ||
| Hardware: | ix86 | ||
| OS: | Linux | ||
|
Description
Kent Engström
2002-03-28 01:14:33 AEDT
I'm using the CVS source and it works fine for me under Redhat 7.0 The area of code you are refering to has the 'pw' defined at the start of the do_authentification(void). - Ben Index: auth1.c
===================================================================
RCS file: /cvs/openssh_cvs/auth1.c,v
retrieving revision 1.64
diff -u -r1.64 auth1.c
--- auth1.c 22 Mar 2002 03:04:11 -0000 1.64
+++ auth1.c 27 Mar 2002 15:58:51 -0000
@@ -389,7 +389,7 @@
use_privsep ? " [net]" : "");
#ifdef USE_PAM
- start_pam(pw == NULL ? "NOUSER" : user);
+ start_pam(authctxt->pw == NULL ? "NOUSER" : user);
#endif
/*
I had an odd version checked out on this test machine. Just committed fix. Mass change of RESOLVED bugs to CLOSED |