summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/sshconnect.c
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2019-01-19 21:31:32 +0000
committerdjm <djm@openbsd.org>2019-01-19 21:31:32 +0000
commit8904d296d0abb7289322cfad76e1404fca98f494 (patch)
tree8f77cc3b1568fccba248b4d2692309b8cc4897b4 /usr.bin/ssh/sshconnect.c
parentSince there is no more exec()'ing, there is no need to (diff)
downloadwireguard-openbsd-8904d296d0abb7289322cfad76e1404fca98f494.tar.xz
wireguard-openbsd-8904d296d0abb7289322cfad76e1404fca98f494.zip
begin landing remaining refactoring of packet parsing API, started
almost exactly six years ago. This change stops including the old packet_* API by default and makes each file that requires the old API include it explicitly. We will commit file-by-file refactoring to remove the old API in consistent steps. with & ok markus@
Diffstat (limited to 'usr.bin/ssh/sshconnect.c')
-rw-r--r--usr.bin/ssh/sshconnect.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/ssh/sshconnect.c b/usr.bin/ssh/sshconnect.c
index 897ccd61dca..2341b144786 100644
--- a/usr.bin/ssh/sshconnect.c
+++ b/usr.bin/ssh/sshconnect.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshconnect.c,v 1.309 2018/12/27 03:25:25 djm Exp $ */
+/* $OpenBSD: sshconnect.c,v 1.310 2019/01/19 21:31:32 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -56,6 +56,9 @@
#include "authfd.h"
#include "kex.h"
+#include "opacket.h" /* XXX */
+extern struct ssh *active_state; /* XXX */
+
struct sshkey *previous_host_key = NULL;
static int matching_host_key_dns = 0;