diff options
author | djm@openbsd.org <djm@openbsd.org> | 2019-01-19 21:31:32 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-01-20 09:02:10 +1100 |
commit | 0fa174ebe129f3d0aeaf4e2d1dd8de745870d0ff (patch) | |
tree | 8ce7eacecf1200d6cb95cd01e87416cc6a3b1af7 /sshconnect2.c | |
parent | 4ae7f80dfd02f2bde912a67c9f338f61e90fa79f (diff) |
upstream: 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@
OpenBSD-Commit-ID: 93c98a6b38f6911fd1ae025a1ec57807fb4d4ef4
Diffstat (limited to 'sshconnect2.c')
-rw-r--r-- | sshconnect2.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sshconnect2.c b/sshconnect2.c index 0e8f323d6..73ffe77a9 100644 --- a/sshconnect2.c +++ b/sshconnect2.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshconnect2.c,v 1.292 2019/01/04 03:27:50 djm Exp $ */ | 1 | /* $OpenBSD: sshconnect2.c,v 1.293 2019/01/19 21:31:32 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
4 | * Copyright (c) 2008 Damien Miller. All rights reserved. | 4 | * Copyright (c) 2008 Damien Miller. All rights reserved. |
@@ -77,6 +77,9 @@ | |||
77 | #include "ssh-gss.h" | 77 | #include "ssh-gss.h" |
78 | #endif | 78 | #endif |
79 | 79 | ||
80 | #include "opacket.h" /* XXX */ | ||
81 | extern struct ssh *active_state; /* XXX */ | ||
82 | |||
80 | /* import */ | 83 | /* import */ |
81 | extern char *client_version_string; | 84 | extern char *client_version_string; |
82 | extern char *server_version_string; | 85 | extern char *server_version_string; |