summaryrefslogtreecommitdiff
path: root/regress/integrity.sh
diff options
context:
space:
mode:
authormarkus@openbsd.org <markus@openbsd.org>2015-01-19 20:42:31 +0000
committerDamien Miller <djm@mindrot.org>2015-01-20 09:46:48 +1100
commit31821d7217e686667d04935aeec99e1fc4a46e7e (patch)
treecd44cea1852493203f6a040cebdb21cab68ee3b6 /regress/integrity.sh
parentd3716ca19e510e95d956ae14d5b367e364bff7f1 (diff)
downloadopenssh-git-31821d7217e686667d04935aeec99e1fc4a46e7e.tar.gz
upstream commit
adapt to new error message (SSH_ERR_MAC_INVALID)
Diffstat (limited to 'regress/integrity.sh')
-rw-r--r--regress/integrity.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/integrity.sh b/regress/integrity.sh
index d3a489ff..42cb4642 100644
--- a/regress/integrity.sh
+++ b/regress/integrity.sh
@@ -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";;