upstream commit

adapt to new error message (SSH_ERR_MAC_INVALID)
This commit is contained in:
markus@openbsd.org 2015-01-19 20:42:31 +00:00 committed by Damien Miller
parent d3716ca19e
commit 31821d7217
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: integrity.sh,v 1.14 2014/05/21 07:04:21 djm Exp $
# $OpenBSD: integrity.sh,v 1.15 2015/01/19 20:42:31 markus Exp $
# Placed in the Public Domain.
tid="integrity"
@ -58,7 +58,7 @@ for m in $macs; do
tr -s '\r\n' '.')
case "$out" in
Bad?packet*) elen=`expr $elen + 1`; skip=3;;
Corrupted?MAC* | Decryption?integrity?check?failed*)
Corrupted?MAC* | *message?authentication?code?incorrect*)
emac=`expr $emac + 1`; skip=0;;
padding*) epad=`expr $epad + 1`; skip=0;;
*) fail "unexpected error mac $m at $off: $out";;