summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/sshconnect2.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/sshconnect2.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/sshconnect2.c')
-rw-r--r--usr.bin/ssh/sshconnect2.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/ssh/sshconnect2.c b/usr.bin/ssh/sshconnect2.c
index ba7a227da41..c865cd92f31 100644
--- a/usr.bin/ssh/sshconnect2.c
+++ b/usr.bin/ssh/sshconnect2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshconnect2.c,v 1.292 2019/01/04 03:27:50 djm Exp $ */
+/* $OpenBSD: sshconnect2.c,v 1.293 2019/01/19 21:31:32 djm Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
* Copyright (c) 2008 Damien Miller. All rights reserved.
@@ -71,6 +71,9 @@
#include "ssh-gss.h"
#endif
+#include "opacket.h" /* XXX */
+extern struct ssh *active_state; /* XXX */
+
/* import */
extern char *client_version_string;
extern char *server_version_string;