diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2022-02-09 16:35:02 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2022-02-09 16:35:02 +0100 |
commit | 8e924e2c919e6fbeae0045b67ac54b9697306d7d (patch) | |
tree | 2ddb2a40fd70018ada5fbab576002199771f67c5 /tests/t_lpback.sh | |
parent | f2b3dda12a731c2e0971cb7889728edaf23f6cb0 (diff) |
New upstream version 2.5.5upstream/2.5.5upstream
Diffstat (limited to 'tests/t_lpback.sh')
-rwxr-xr-x | tests/t_lpback.sh | 7 |
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}... " |