#! /bin/sh echo lsh, test 6, using various encryption algorithms if [ -z "$srcdir" ] ; then srcdir=`pwd` fi . $srcdir/functions.sh OLD_FLAGS="$LSH_FLAGS" ALGORITHMS="arcfour twofish blowfish 3des aes rijndael cast128 all" test_success LSHD_FLAGS="$LSHD_FLAGS -c all" spawn_lshd && for c in $ALGORITHMS ; do echo Trying encryption flag $c
if LSH_FLAGS="$OLD_FLAGS -c $c" exec_lsh "exit 0"; then
echo " Ok" else echo " Fail"; test_fail fi done