summaryrefslogtreecommitdiffstats
path: root/regress
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2013-02-26 08:58:06 +0100
committerDamien Miller <djm@mindrot.org>2013-02-26 08:58:06 +0100
commit1e657d592d1afa169ffb0a7a1a407b4fe5c97686 (patch)
tree9998f58c059c11680dae82ef6e9824bb02b2a727 /regress
parent - (dtucker) [configure.ac ssh-gss.h] bz#2073: additional #includes needed (diff)
downloadopenssh-1e657d592d1afa169ffb0a7a1a407b4fe5c97686.tar.xz
openssh-1e657d592d1afa169ffb0a7a1a407b4fe5c97686.zip
- djm@cvs.openbsd.org 2013/02/20 08:27:50
[integrity.sh] Add an option to modpipe that warns if the modification offset it not reached in it's stream and turn it on for t-integrity. This should catch cases where the session is not fuzzed for being too short (cf. my last "oops" commit)
Diffstat (limited to 'regress')
-rw-r--r--regress/integrity.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/integrity.sh b/regress/integrity.sh
index 2a93372fc..a57ec87f9 100644
--- a/regress/integrity.sh
+++ b/regress/integrity.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: integrity.sh,v 1.6 2013/02/19 02:14:09 djm Exp $
+# $OpenBSD: integrity.sh,v 1.7 2013/02/20 08:27:50 djm Exp $
# Placed in the Public Domain.
tid="integrity"
@@ -42,7 +42,7 @@ for m in $macs; do
continue
fi
# modify output from sshd at offset $off
- pxy="proxycommand=$cmd | $OBJ/modpipe -m xor:$off:1"
+ pxy="proxycommand=$cmd | $OBJ/modpipe -wm xor:$off:1"
case $m in
aes*gcm*) macopt="-c $m";;
*) macopt="-m $m";;