mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 23:45:42 +01: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 New Issue
Block a user