mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 12:15:41 +01:00
compat.sh: source cosmetics
This commit is contained in:
parent
330e4111cb
commit
95957717f3
@ -463,6 +463,12 @@ start_server() {
|
||||
sleep 1
|
||||
}
|
||||
|
||||
# terminate the running server
|
||||
stop_server() {
|
||||
kill $PROCESS_ID 2>/dev/null
|
||||
wait $PROCESS_ID 2>/dev/null
|
||||
}
|
||||
|
||||
# run_client <name> <cipher>
|
||||
run_client() {
|
||||
# run the command and interpret result
|
||||
@ -525,17 +531,11 @@ run_client() {
|
||||
esac
|
||||
}
|
||||
|
||||
for VERIFY in $VERIFIES;
|
||||
do
|
||||
|
||||
for MODE in $MODES;
|
||||
do
|
||||
|
||||
for VERIFY in $VERIFIES; do
|
||||
for MODE in $MODES; do
|
||||
echo "-----------"
|
||||
echo "Running for $MODE (Verify: $VERIFY)"
|
||||
|
||||
for TYPE in $TYPES;
|
||||
do
|
||||
for TYPE in $TYPES; do
|
||||
|
||||
setup_arguments
|
||||
setup_ciphersuites
|
||||
@ -546,8 +546,7 @@ for i in $P_CIPHERS; do
|
||||
run_client PolarSSL $i
|
||||
done
|
||||
|
||||
kill $PROCESS_ID 2>/dev/null
|
||||
wait $PROCESS_ID 2>/dev/null
|
||||
stop_server
|
||||
|
||||
start_server "PolarSSL"
|
||||
|
||||
@ -562,8 +561,7 @@ for i in $P_CIPHERS; do
|
||||
run_client PolarSSL $i
|
||||
done
|
||||
|
||||
kill $PROCESS_ID 2>/dev/null
|
||||
wait $PROCESS_ID 2>/dev/null
|
||||
stop_server
|
||||
|
||||
done
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user