diff options
author | Damien Miller <djm@mindrot.org> | 2013-02-26 18:58:06 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2013-02-26 18:58:06 +1100 |
commit | 1e657d592d1afa169ffb0a7a1a407b4fe5c97686 (patch) | |
tree | 9998f58c059c11680dae82ef6e9824bb02b2a727 /regress/integrity.sh | |
parent | 03978c61f32935b31337844aa25d87dc0edd39d2 (diff) |
- 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/integrity.sh')
-rw-r--r-- | regress/integrity.sh | 4 |
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 @@ | |||
1 | # $OpenBSD: integrity.sh,v 1.6 2013/02/19 02:14:09 djm Exp $ | 1 | # $OpenBSD: integrity.sh,v 1.7 2013/02/20 08:27:50 djm Exp $ |
2 | # Placed in the Public Domain. | 2 | # Placed in the Public Domain. |
3 | 3 | ||
4 | tid="integrity" | 4 | tid="integrity" |
@@ -42,7 +42,7 @@ for m in $macs; do | |||
42 | continue | 42 | continue |
43 | fi | 43 | fi |
44 | # modify output from sshd at offset $off | 44 | # modify output from sshd at offset $off |
45 | pxy="proxycommand=$cmd | $OBJ/modpipe -m xor:$off:1" | 45 | pxy="proxycommand=$cmd | $OBJ/modpipe -wm xor:$off:1" |
46 | case $m in | 46 | case $m in |
47 | aes*gcm*) macopt="-c $m";; | 47 | aes*gcm*) macopt="-c $m";; |
48 | *) macopt="-m $m";; | 48 | *) macopt="-m $m";; |