Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/dist/ssh Remove a stale #endif, and add one missing a...



details:   https://anonhg.NetBSD.org/src/rev/d82ef096dc33
branches:  trunk
changeset: 580798:d82ef096dc33
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sun May 08 23:30:46 2005 +0000

description:
Remove a stale #endif, and add one missing at EOF.
Noticed by code inspection and confirming by diffing against the vendor source.
The previous code compiled, but it certainly wouldn't have DTRT ...

diffstat:

 crypto/dist/ssh/auth-pam.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 2ceba1cd7e49 -r d82ef096dc33 crypto/dist/ssh/auth-pam.c
--- a/crypto/dist/ssh/auth-pam.c        Sun May 08 23:05:02 2005 +0000
+++ b/crypto/dist/ssh/auth-pam.c        Sun May 08 23:30:46 2005 +0000
@@ -50,7 +50,7 @@
 /*
  * NetBSD local changes
  */
-__RCSID("$NetBSD: auth-pam.c,v 1.3 2005/05/08 21:15:04 christos Exp $");
+__RCSID("$NetBSD: auth-pam.c,v 1.4 2005/05/08 23:30:46 lukem Exp $");
 #undef USE_POSIX_THREADS /* Not yet */
 #define HAVE_PAM_GETENVLIST
 #define HAVE_PAM_PUTENV
@@ -409,7 +409,6 @@
                setproctitle("%s [pam]",
                    sshpam_authctxt->valid ? pam_user : "unknown");
        }
-#endif
 
        sshpam_conv.conv = sshpam_thread_conv;
        sshpam_conv.appdata_ptr = ctxt;
@@ -1155,3 +1154,4 @@
                return 0;
        }
 }
+#endif /* USE_PAM */



Home | Main Index | Thread Index | Old Index