summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2013-02-19 14:27:44 +1100
committerDamien Miller <djm@mindrot.org>2013-02-19 14:27:44 +1100
commitdae85cc3ad02a068b58f42fddc2ccc4f3a9b8311 (patch)
treec0367893524cbd8fe2a30505456c919e20e08217
parentb3764e12024e70296d35877a3da2c4d575dafdb9 (diff)
- (djm) [regress/integrity.sh] Skip SHA2-based MACs on configurations that
lack support for SHA2.
-rw-r--r--ChangeLog2
-rw-r--r--regress/integrity.sh8
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index bac8998c0..09d5c1304 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,8 @@
8 [integrity.sh] 8 [integrity.sh]
9 oops, forgot to increase the output of the ssh command to ensure that 9 oops, forgot to increase the output of the ssh command to ensure that
10 we actually reach $offset 10 we actually reach $offset
11 - (djm) [regress/integrity.sh] Skip SHA2-based MACs on configurations that
12 lack support for SHA2.
11 13
1220130217 1420130217
13 - OpenBSD CVS Sync 15 - OpenBSD CVS Sync
diff --git a/regress/integrity.sh b/regress/integrity.sh
index 0a0146e05..2a93372fc 100644
--- a/regress/integrity.sh
+++ b/regress/integrity.sh
@@ -9,11 +9,13 @@ tid="integrity"
9tries=10 9tries=10
10startoffset=2900 10startoffset=2900
11macs="hmac-sha1 hmac-md5 umac-64@openssh.com umac-128@openssh.com 11macs="hmac-sha1 hmac-md5 umac-64@openssh.com umac-128@openssh.com
12 hmac-sha1-96 hmac-md5-96 hmac-sha2-256 hmac-sha2-512 12 hmac-sha1-96 hmac-md5-96
13 hmac-sha1-etm@openssh.com hmac-md5-etm@openssh.com 13 hmac-sha1-etm@openssh.com hmac-md5-etm@openssh.com
14 umac-64-etm@openssh.com umac-128-etm@openssh.com 14 umac-64-etm@openssh.com umac-128-etm@openssh.com
15 hmac-sha1-96-etm@openssh.com hmac-md5-96-etm@openssh.com 15 hmac-sha1-96-etm@openssh.com hmac-md5-96-etm@openssh.com"
16 hmac-sha2-256-etm@openssh.com hmac-sha2-512-etm@openssh.com" 16config_defined HAVE_EVP_SHA256 &&
17 macs="$macs hmac-sha2-256 hmac-sha2-512
18 hmac-sha2-256-etm@openssh.com hmac-sha2-512-etm@openssh.com"
17# The following are not MACs, but ciphers with integrated integrity. They are 19# The following are not MACs, but ciphers with integrated integrity. They are
18# handled specially below. 20# handled specially below.
19config_defined OPENSSL_HAVE_EVPGCM && \ 21config_defined OPENSSL_HAVE_EVPGCM && \