diff options
Diffstat (limited to 'loginrec.c')
-rw-r--r-- | loginrec.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/loginrec.c b/loginrec.c index bdbc9bbf4..9a427dec4 100644 --- a/loginrec.c +++ b/loginrec.c | |||
@@ -168,7 +168,7 @@ | |||
168 | #include <unistd.h> | 168 | #include <unistd.h> |
169 | 169 | ||
170 | #include "xmalloc.h" | 170 | #include "xmalloc.h" |
171 | #include "key.h" | 171 | #include "sshkey.h" |
172 | #include "hostfile.h" | 172 | #include "hostfile.h" |
173 | #include "ssh.h" | 173 | #include "ssh.h" |
174 | #include "loginrec.h" | 174 | #include "loginrec.h" |
@@ -177,7 +177,8 @@ | |||
177 | #include "packet.h" | 177 | #include "packet.h" |
178 | #include "canohost.h" | 178 | #include "canohost.h" |
179 | #include "auth.h" | 179 | #include "auth.h" |
180 | #include "buffer.h" | 180 | #include "sshbuf.h" |
181 | #include "ssherr.h" | ||
181 | 182 | ||
182 | #ifdef HAVE_UTIL_H | 183 | #ifdef HAVE_UTIL_H |
183 | # include <util.h> | 184 | # include <util.h> |
@@ -210,7 +211,7 @@ int utmpx_get_entry(struct logininfo *li); | |||
210 | int wtmp_get_entry(struct logininfo *li); | 211 | int wtmp_get_entry(struct logininfo *li); |
211 | int wtmpx_get_entry(struct logininfo *li); | 212 | int wtmpx_get_entry(struct logininfo *li); |
212 | 213 | ||
213 | extern Buffer loginmsg; | 214 | extern struct sshbuf *loginmsg; |
214 | 215 | ||
215 | /* pick the shortest string */ | 216 | /* pick the shortest string */ |
216 | #define MIN_SIZEOF(s1,s2) (sizeof(s1) < sizeof(s2) ? sizeof(s1) : sizeof(s2)) | 217 | #define MIN_SIZEOF(s1,s2) (sizeof(s1) < sizeof(s2) ? sizeof(s1) : sizeof(s2)) |