mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02:00
- djm@cvs.openbsd.org 2013/02/17 23:16:55
[integrity.sh] make the ssh command generates some output to ensure that there are at least offset+tries bytes in the stream.
This commit is contained in:
parent
5d7b9565bc
commit
33d52566bc
@ -1,3 +1,10 @@
|
|||||||
|
20130217
|
||||||
|
- OpenBSD CVS Sync
|
||||||
|
- djm@cvs.openbsd.org 2013/02/17 23:16:55
|
||||||
|
[integrity.sh]
|
||||||
|
make the ssh command generates some output to ensure that there are at
|
||||||
|
least offset+tries bytes in the stream.
|
||||||
|
|
||||||
20130216
|
20130216
|
||||||
- OpenBSD CVS Sync
|
- OpenBSD CVS Sync
|
||||||
- djm@cvs.openbsd.org 2013/02/16 06:08:45
|
- djm@cvs.openbsd.org 2013/02/16 06:08:45
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# $OpenBSD: integrity.sh,v 1.3 2013/02/16 06:08:45 djm Exp $
|
# $OpenBSD: integrity.sh,v 1.4 2013/02/17 23:16:55 djm Exp $
|
||||||
# Placed in the Public Domain.
|
# Placed in the Public Domain.
|
||||||
|
|
||||||
tid="integrity"
|
tid="integrity"
|
||||||
@ -46,7 +46,7 @@ for m in $macs; do
|
|||||||
*) macopt="-m $m";;
|
*) macopt="-m $m";;
|
||||||
esac
|
esac
|
||||||
output=$(${SSH} $macopt -2F $OBJ/ssh_proxy -o "$pxy" \
|
output=$(${SSH} $macopt -2F $OBJ/ssh_proxy -o "$pxy" \
|
||||||
999.999.999.999 true 2>&1)
|
999.999.999.999 'printf "%2048s" " "' 2>&1)
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
fail "ssh -m $m succeeds with bit-flip at $off"
|
fail "ssh -m $m succeeds with bit-flip at $off"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user