From 8101fc8d5a5c870cbee9e04504351ddceb3e62f1 Mon Sep 17 00:00:00 2001 From: markus Date: Mon, 19 Jan 2015 20:42:31 +0000 Subject: [PATCH] adapt to new error message (SSH_ERR_MAC_INVALID) --- regress/usr.bin/ssh/integrity.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regress/usr.bin/ssh/integrity.sh b/regress/usr.bin/ssh/integrity.sh index fdfe76fd25b..b75124b5e2b 100644 --- a/regress/usr.bin/ssh/integrity.sh +++ b/regress/usr.bin/ssh/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" @@ -52,7 +52,7 @@ for m in $macs; do tr -s '\r\n' '.') case "$out" in Bad?packet*) elen=$((elen+1)); skip=2;; - Corrupted?MAC* | Decryption?integrity?check?failed*) + Corrupted?MAC* | *message?authentication?code?incorrect*) emac=$((emac+1)); skip=0;; padding*) epad=$((epad+1)); skip=0;; *) fail "unexpected error mac $m at $off: $out";; -- 2.20.1