summaryrefslogtreecommitdiff
path: root/packet.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2019-01-19 21:31:32 +0000
committerDamien Miller <djm@mindrot.org>2019-01-20 09:02:10 +1100
commit0fa174ebe129f3d0aeaf4e2d1dd8de745870d0ff (patch)
tree8ce7eacecf1200d6cb95cd01e87416cc6a3b1af7 /packet.h
parent4ae7f80dfd02f2bde912a67c9f338f61e90fa79f (diff)
downloadopenssh-git-0fa174ebe129f3d0aeaf4e2d1dd8de745870d0ff.tar.gz
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 'packet.h')
-rw-r--r--packet.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/packet.h b/packet.h
index 170203ca..c58b52d3 100644
--- a/packet.h
+++ b/packet.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: packet.h,v 1.86 2018/07/09 21:20:26 markus Exp $ */
+/* $OpenBSD: packet.h,v 1.87 2019/01/19 21:31:32 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -204,10 +204,6 @@ int sshpkt_get_end(struct ssh *ssh);
void sshpkt_fmt_connection_id(struct ssh *ssh, char *s, size_t l);
const u_char *sshpkt_ptr(struct ssh *, size_t *lenp);
-/* OLD API */
-extern struct ssh *active_state;
-#include "opacket.h"
-
#if !defined(WITH_OPENSSL)
# undef BIGNUM
# undef EC_KEY