Fix test to work with configurations not including AES-GCM

This commit is contained in:
Sean Parkinson
2018-06-01 09:24:28 +10:00
parent 70b3ba1c04
commit 4ac34b74bd
3 changed files with 27 additions and 18 deletions

View File

@@ -103,6 +103,21 @@ if [ $? -ne 0 ]; then
fi
echo ""
# psk server with non psk client
port=0
./examples/server/server -j -R $ready_file -p $port &
server_pid=$!
create_port
./examples/client/client -p $port
RESULT=$?
remove_ready_file
if [ $RESULT -ne 0 ]; then
echo -e "\n\nClient connection failed"
do_cleanup
exit 1
fi
echo ""
# check fail if no auth, psk server with non psk client
echo "Checking fail when not sending peer cert"
port=0