diff options
author | Damien Miller <djm@mindrot.org> | 2013-02-19 14:27:44 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2013-02-19 14:27:44 +1100 |
commit | dae85cc3ad02a068b58f42fddc2ccc4f3a9b8311 (patch) | |
tree | c0367893524cbd8fe2a30505456c919e20e08217 /regress | |
parent | b3764e12024e70296d35877a3da2c4d575dafdb9 (diff) |
- (djm) [regress/integrity.sh] Skip SHA2-based MACs on configurations that
lack support for SHA2.
Diffstat (limited to 'regress')
-rw-r--r-- | regress/integrity.sh | 8 |
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" | |||
9 | tries=10 | 9 | tries=10 |
10 | startoffset=2900 | 10 | startoffset=2900 |
11 | macs="hmac-sha1 hmac-md5 umac-64@openssh.com umac-128@openssh.com | 11 | macs="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" | 16 | config_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. |
19 | config_defined OPENSSL_HAVE_EVPGCM && \ | 21 | config_defined OPENSSL_HAVE_EVPGCM && \ |