summaryrefslogtreecommitdiff
path: root/regress/integrity.sh
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 /regress/integrity.sh
parentb3764e12024e70296d35877a3da2c4d575dafdb9 (diff)
- (djm) [regress/integrity.sh] Skip SHA2-based MACs on configurations that
lack support for SHA2.
Diffstat (limited to 'regress/integrity.sh')
-rw-r--r--regress/integrity.sh8
1 files changed, 5 insertions, 3 deletions
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 && \