mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-10 23:15:40 +00:00
Check -m option in compat.sh
This commit is contained in:
parent
0a286d9e32
commit
d331319a38
|
@ -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 "-----------"
|
||||
|
|
Loading…
Reference in a new issue