summaryrefslogtreecommitdiff
path: root/tests/t_lpback.sh
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2022-02-09 16:35:11 +0100
committerJörg Frings-Fürst <debian@jff.email>2022-02-09 16:35:11 +0100
commit9d320b2bf4b83f6e2a3c679a399b88dfe57b879e (patch)
treec2862c0ce46b80f565a18a25fa96145ef59ad0b2 /tests/t_lpback.sh
parent1aff45d6fdfbc63a0256a831a8f8644a84708e9f (diff)
parent8e924e2c919e6fbeae0045b67ac54b9697306d7d (diff)
Update upstream source from tag 'upstream/2.5.5'
Update to upstream version '2.5.5' with Debian dir add1ff02b39ff7fc38c6c53654ab9263533c4f27
Diffstat (limited to 'tests/t_lpback.sh')
-rwxr-xr-xtests/t_lpback.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/t_lpback.sh b/tests/t_lpback.sh
index 6206899..6795299 100755
--- a/tests/t_lpback.sh
+++ b/tests/t_lpback.sh
@@ -35,13 +35,18 @@ CIPHERS=$(${top_builddir}/src/openvpn/openvpn --show-ciphers | \
# GD, 2014-07-06 do not test RC5-* either (fails on NetBSD w/o libcrypto_rc5)
CIPHERS=$(echo "$CIPHERS" | egrep -v '^(DES-EDE3-CFB1|DES-CFB1|RC5-)' )
+e=0
+if [ -z "$CIPHERS" ] ; then
+ echo "'openvpn --show-ciphers' FAILED (empty list)"
+ e=1
+fi
+
# Also test cipher 'none'
CIPHERS=${CIPHERS}$(printf "\nnone")
"${top_builddir}/src/openvpn/openvpn" --genkey secret key.$$
set +e
-e=0
for cipher in ${CIPHERS}
do
printf "Testing cipher ${cipher}... "