Skip to content

Commit 245c6a0

Browse files
committed
upstream: remove last traces of old packet API!
with & ok markus@ OpenBSD-Commit-ID: 9bd10437026423eb8245636ad34797a20fbafd7d
1 parent 04c091f commit 245c6a0

4 files changed

Lines changed: 2 additions & 484 deletions

File tree

Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ LIBSSH_OBJS=${LIBOPENSSH_OBJS} \
8888
canohost.o channels.o cipher.o cipher-aes.o cipher-aesctr.o \
8989
cipher-ctr.o cleanup.o \
9090
compat.o crc32.o fatal.o hostfile.o \
91-
log.o match.o moduli.o nchan.o packet.o opacket.o \
91+
log.o match.o moduli.o nchan.o packet.o \
9292
readpass.o ttymodes.o xmalloc.o addrmatch.o \
9393
atomicio.o dispatch.o mac.o uuencode.o misc.o utf8.o \
9494
monitor_fdpass.o rijndael.o ssh-dss.o ssh-ecdsa.o ssh-rsa.o dh.o \

dispatch.h

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $OpenBSD: dispatch.h,v 1.14 2017/05/31 07:00:13 markus Exp $ */
1+
/* $OpenBSD: dispatch.h,v 1.15 2019/01/19 21:45:31 djm Exp $ */
22

33
/*
44
* Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -46,11 +46,4 @@ void ssh_dispatch_range(struct ssh *, u_int, u_int, dispatch_fn *);
4646
int ssh_dispatch_run(struct ssh *, int, volatile sig_atomic_t *);
4747
void ssh_dispatch_run_fatal(struct ssh *, int, volatile sig_atomic_t *);
4848

49-
#define dispatch_init(dflt) \
50-
ssh_dispatch_init(active_state, (dflt))
51-
#define dispatch_range(from, to, fn) \
52-
ssh_dispatch_range(active_state, (from), (to), (fn))
53-
#define dispatch_set(type, fn) \
54-
ssh_dispatch_set(active_state, (type), (fn))
55-
5649
#endif

opacket.c

Lines changed: 0 additions & 321 deletions
This file was deleted.

0 commit comments

Comments
 (0)