diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | openbsd-compat/port-aix.c | 12 |
2 files changed, 11 insertions, 7 deletions
@@ -1,3 +1,7 @@ | |||
1 | 20040616 | ||
2 | - (dtucker) [openbsd-compat/port-aix.c] Expand whitespace -> tabs. No | ||
3 | code changes. | ||
4 | |||
1 | 20040615 | 5 | 20040615 |
2 | - (djm) OpenBSD CVS Sync | 6 | - (djm) OpenBSD CVS Sync |
3 | - djm@cvs.openbsd.org 2004/05/26 08:59:57 | 7 | - djm@cvs.openbsd.org 2004/05/26 08:59:57 |
@@ -1222,4 +1226,4 @@ | |||
1222 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM | 1226 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM |
1223 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu | 1227 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu |
1224 | 1228 | ||
1225 | $Id: ChangeLog,v 1.3387 2004/06/15 05:47:51 djm Exp $ | 1229 | $Id: ChangeLog,v 1.3388 2004/06/16 02:01:15 dtucker Exp $ |
diff --git a/openbsd-compat/port-aix.c b/openbsd-compat/port-aix.c index 2895f0d44..5ba6819de 100644 --- a/openbsd-compat/port-aix.c +++ b/openbsd-compat/port-aix.c | |||
@@ -133,12 +133,12 @@ sys_auth_passwd(Authctxt *ctxt, const char *password) | |||
133 | /* | 133 | /* |
134 | * Check if the user's password is expired. | 134 | * Check if the user's password is expired. |
135 | */ | 135 | */ |
136 | expired = passwdexpired(name, &msg); | 136 | expired = passwdexpired(name, &msg); |
137 | if (msg && *msg) { | 137 | if (msg && *msg) { |
138 | buffer_append(&loginmsg, msg, strlen(msg)); | 138 | buffer_append(&loginmsg, msg, strlen(msg)); |
139 | aix_remove_embedded_newlines(msg); | 139 | aix_remove_embedded_newlines(msg); |
140 | } | 140 | } |
141 | debug3("AIX/passwdexpired returned %d msg %.100s", expired, msg); | 141 | debug3("AIX/passwdexpired returned %d msg %.100s", expired, msg); |
142 | 142 | ||
143 | switch (expired) { | 143 | switch (expired) { |
144 | case 0: /* password not expired */ | 144 | case 0: /* password not expired */ |