diff --git a/tests/compat.sh b/tests/compat.sh index ef6b0e0d33..ddb2cf9605 100755 --- a/tests/compat.sh +++ b/tests/compat.sh @@ -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 "-----------"