diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2006-03-15 06:30:35 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2006-03-15 06:30:35 +0000 |
commit | 57fc0bd01140bc78463e607b02f8c2165297d3e5 (patch) | |
tree | 833ef538137d441c1518d469dc169b6b299bec5c /security/hpn-ssh/files/patch-auth.c | |
parent | Update to SRC680_m159 (diff) |
Remove the hpn-ssh port. The functionality is now an option when
building the openssh-portable port.
Notes
Notes:
svn path=/head/; revision=157131
Diffstat (limited to '')
-rw-r--r-- | security/hpn-ssh/files/patch-auth.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/security/hpn-ssh/files/patch-auth.c b/security/hpn-ssh/files/patch-auth.c deleted file mode 100644 index e15f33234d56..000000000000 --- a/security/hpn-ssh/files/patch-auth.c +++ /dev/null @@ -1,29 +0,0 @@ ---- auth.c.orig Thu Aug 12 14:40:25 2004 -+++ auth.c Mon Sep 20 05:04:48 2004 -@@ -208,6 +208,17 @@ - return 0; - #endif - -+#ifdef __FreeBSD__ -+ /* Fail if the account's expiration time has passed. */ -+ if (pw->pw_expire != 0) { -+ struct timeval tv; -+ -+ (void)gettimeofday(&tv, NULL); -+ if (tv.tv_sec >= pw->pw_expire) -+ return 0; -+ } -+#endif /* __FreeBSD__ */ -+ - /* We found no reason not to let this user try to log on... */ - return 1; - } -@@ -472,7 +483,7 @@ - if (!allowed_user(pw)) - return (NULL); - #ifdef HAVE_LOGIN_CAP -- if ((lc = login_getclass(pw->pw_class)) == NULL) { -+ if ((lc = login_getpwclass(pw)) == NULL) { - debug("unable to get login class: %s", user); - return (NULL); - } |