aboutsummaryrefslogtreecommitdiff
path: root/loginrec.c
diff options
context:
space:
mode:
Diffstat (limited to 'loginrec.c')
-rw-r--r--loginrec.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/loginrec.c b/loginrec.c
index bdbc9bbf44f7..9a427dec4125 100644
--- a/loginrec.c
+++ b/loginrec.c
@@ -168,7 +168,7 @@
#include <unistd.h>
#include "xmalloc.h"
-#include "key.h"
+#include "sshkey.h"
#include "hostfile.h"
#include "ssh.h"
#include "loginrec.h"
@@ -177,7 +177,8 @@
#include "packet.h"
#include "canohost.h"
#include "auth.h"
-#include "buffer.h"
+#include "sshbuf.h"
+#include "ssherr.h"
#ifdef HAVE_UTIL_H
# include <util.h>
@@ -210,7 +211,7 @@ int utmpx_get_entry(struct logininfo *li);
int wtmp_get_entry(struct logininfo *li);
int wtmpx_get_entry(struct logininfo *li);
-extern Buffer loginmsg;
+extern struct sshbuf *loginmsg;
/* pick the shortest string */
#define MIN_SIZEOF(s1,s2) (sizeof(s1) < sizeof(s2) ? sizeof(s1) : sizeof(s2))