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)
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 170203cab..c58b52d39 100644
--- a/packet.h
+++ b/packet.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: packet.h,v 1.86 2018/07/09 21:20:26 markus Exp $ */ 1/* $OpenBSD: packet.h,v 1.87 2019/01/19 21:31:32 djm Exp $ */
2 2
3/* 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -204,10 +204,6 @@ int sshpkt_get_end(struct ssh *ssh);
204void sshpkt_fmt_connection_id(struct ssh *ssh, char *s, size_t l); 204void sshpkt_fmt_connection_id(struct ssh *ssh, char *s, size_t l);
205const u_char *sshpkt_ptr(struct ssh *, size_t *lenp); 205const u_char *sshpkt_ptr(struct ssh *, size_t *lenp);
206 206
207/* OLD API */
208extern struct ssh *active_state;
209#include "opacket.h"
210
211#if !defined(WITH_OPENSSL) 207#if !defined(WITH_OPENSSL)
212# undef BIGNUM 208# undef BIGNUM
213# undef EC_KEY 209# undef EC_KEY