summaryrefslogtreecommitdiff
path: root/regress/try-ciphers.sh
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2013-01-17 14:31:57 +1100
committerDamien Miller <djm@mindrot.org>2013-01-17 14:31:57 +1100
commitb26699bbadaffa1b1de2f6b0e175b77aba337de5 (patch)
tree4088f4bb1f4c5fbe8ca3c5fc62a1eb0af60c9f05 /regress/try-ciphers.sh
parentefa1c950921659a0f10b9adf30625fba21b3815c (diff)
- (djm) [regress/cipher-speed.sh regress/integrity.sh regress/try-ciphers.sh]
check for GCM support before testing GCM ciphers.
Diffstat (limited to 'regress/try-ciphers.sh')
-rw-r--r--regress/try-ciphers.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/regress/try-ciphers.sh b/regress/try-ciphers.sh
index ca285171..ef91085c 100644
--- a/regress/try-ciphers.sh
+++ b/regress/try-ciphers.sh
@@ -6,8 +6,9 @@ tid="try ciphers"
ciphers="aes128-cbc 3des-cbc blowfish-cbc cast128-cbc
arcfour128 arcfour256 arcfour
aes192-cbc aes256-cbc rijndael-cbc@lysator.liu.se
- aes128-ctr aes192-ctr aes256-ctr
- aes128-gcm@openssh.com aes256-gcm@openssh.com"
+ aes128-ctr aes192-ctr aes256-ctr"
+config_defined OPENSSL_HAVE_EVPGCM && \
+ ciphers="$ciphers aes128-gcm@openssh.com aes256-gcm@openssh.com"
macs="hmac-sha1 hmac-md5 umac-64@openssh.com umac-128@openssh.com
hmac-sha1-96 hmac-md5-96
hmac-sha1-etm@openssh.com hmac-md5-etm@openssh.com