diff options
Diffstat (limited to 'regress/integrity.sh')
-rw-r--r-- | regress/integrity.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/regress/integrity.sh b/regress/integrity.sh index 39d310deb..1df2924f5 100644 --- a/regress/integrity.sh +++ b/regress/integrity.sh | |||
@@ -1,12 +1,10 @@ | |||
1 | # $OpenBSD: integrity.sh,v 1.19 2016/11/25 02:56:49 dtucker Exp $ | 1 | # $OpenBSD: integrity.sh,v 1.20 2017/01/06 02:26:10 dtucker Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="integrity" | 4 | tid="integrity" |
5 | cp $OBJ/sshd_proxy $OBJ/sshd_proxy_bak | 5 | cp $OBJ/sshd_proxy $OBJ/sshd_proxy_bak |
6 | 6 | ||
7 | # start at byte 2900 (i.e. after kex) and corrupt at different offsets | 7 | # start at byte 2900 (i.e. after kex) and corrupt at different offsets |
8 | # XXX the test hangs if we modify the low bytes of the packet length | ||
9 | # XXX and ssh tries to read... | ||
10 | tries=10 | 8 | tries=10 |
11 | startoffset=2900 | 9 | startoffset=2900 |
12 | macs=`${SSH} -Q mac` | 10 | macs=`${SSH} -Q mac` |
@@ -27,6 +25,7 @@ for m in $macs; do | |||
27 | elen=0 | 25 | elen=0 |
28 | epad=0 | 26 | epad=0 |
29 | emac=0 | 27 | emac=0 |
28 | etmo=0 | ||
30 | ecnt=0 | 29 | ecnt=0 |
31 | skip=0 | 30 | skip=0 |
32 | for off in `jot $tries $startoffset`; do | 31 | for off in `jot $tries $startoffset`; do |