Check -m option in compat.sh

This commit is contained in:
Manuel Pégourié-Gonnard 2013-09-13 19:20:37 +02:00 committed by Paul Bakker
parent 0a286d9e32
commit d331319a38

View File

@ -103,6 +103,16 @@ fi
for MODE in $MODES;
do
# avoid an avalanche of errors due to typos
case $MODE in
ssl3|tls1|tls1_1|tls1_2)
;;
*)
echo "error: invalid mode: $MODE" >&2
exit 1;
esac
echo "-----------"
echo "Running for $MODE (Verify: $VERIFY)"
echo "-----------"