summaryrefslogtreecommitdiff
path: root/regress/integrity.sh
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2013-02-16 17:32:31 +1100
committerDamien Miller <djm@mindrot.org>2013-02-16 17:32:31 +1100
commit5d7b9565bc2cc2b0734a6e8b0b7ab781745d35f9 (patch)
tree0cfa2603bfae0bc7d7d6951a29282032aba57c1e /regress/integrity.sh
parent2991d288db4355a54f0860be184c31343cb2c139 (diff)
- djm@cvs.openbsd.org 2013/02/16 06:08:45
[integrity.sh] make sure the fuzz offset is actually past the end of KEX for all KEX types. diffie-hellman-group-exchange-sha256 requires an offset around 2700. Noticed via test failures in portable OpenSSH on platforms that lack ECC and this the more byte-frugal ECDH KEX algorithms.
Diffstat (limited to 'regress/integrity.sh')
-rw-r--r--regress/integrity.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/integrity.sh b/regress/integrity.sh
index bcace97e6..d779aa930 100644
--- a/regress/integrity.sh
+++ b/regress/integrity.sh
@@ -1,13 +1,13 @@
1# $OpenBSD: integrity.sh,v 1.2 2013/01/12 11:23:53 djm Exp $ 1# $OpenBSD: integrity.sh,v 1.3 2013/02/16 06:08:45 djm Exp $
2# Placed in the Public Domain. 2# Placed in the Public Domain.
3 3
4tid="integrity" 4tid="integrity"
5 5
6# start at byte 2500 (i.e. after kex) and corrupt at different offsets 6# start at byte 2800 (i.e. after kex) and corrupt at different offsets
7# XXX the test hangs if we modify the low bytes of the packet length 7# XXX the test hangs if we modify the low bytes of the packet length
8# XXX and ssh tries to read... 8# XXX and ssh tries to read...
9tries=10 9tries=10
10startoffset=2500 10startoffset=2800
11macs="hmac-sha1 hmac-md5 umac-64@openssh.com umac-128@openssh.com 11macs="hmac-sha1 hmac-md5 umac-64@openssh.com umac-128@openssh.com
12 hmac-sha1-96 hmac-md5-96 hmac-sha2-256 hmac-sha2-512 12 hmac-sha1-96 hmac-md5-96 hmac-sha2-256 hmac-sha2-512
13 hmac-sha1-etm@openssh.com hmac-md5-etm@openssh.com 13 hmac-sha1-etm@openssh.com hmac-md5-etm@openssh.com