diff options
author | Colin Watson <cjwatson@debian.org> | 2020-06-07 10:19:23 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2020-06-07 10:19:23 +0100 |
commit | 202f5a676221c244cd450086c334c2b59f339e86 (patch) | |
tree | d2f90a3a9ce2b33485c271eab01a48f02ef6fb5a /sshlogin.c | |
parent | f0de78bd4f29fa688c5df116f3f9cd43543a76d0 (diff) | |
parent | 9ca7e9c861775dd6c6312bc8aaab687403d24676 (diff) |
Import openssh_8.3p1.orig.tar.gz
Diffstat (limited to 'sshlogin.c')
-rw-r--r-- | sshlogin.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sshlogin.c b/sshlogin.c index 4ed419494..08d2600b2 100644 --- a/sshlogin.c +++ b/sshlogin.c | |||
@@ -90,8 +90,11 @@ static void | |||
90 | store_lastlog_message(const char *user, uid_t uid) | 90 | store_lastlog_message(const char *user, uid_t uid) |
91 | { | 91 | { |
92 | #ifndef NO_SSH_LASTLOG | 92 | #ifndef NO_SSH_LASTLOG |
93 | char *time_string, hostname[HOST_NAME_MAX+1] = ""; | 93 | # ifndef CUSTOM_SYS_AUTH_GET_LASTLOGIN_MSG |
94 | char hostname[HOST_NAME_MAX+1] = ""; | ||
94 | time_t last_login_time; | 95 | time_t last_login_time; |
96 | # endif | ||
97 | char *time_string; | ||
95 | int r; | 98 | int r; |
96 | 99 | ||
97 | if (!options.print_lastlog) | 100 | if (!options.print_lastlog) |