Fix issue in compat.sh

This commit is contained in:
Manuel Pégourié-Gonnard 2015-01-22 17:05:05 +00:00
parent f234ff82ec
commit a8f3b75f54

View file

@ -774,7 +774,7 @@ start_server() {
[Gg]nu*) [Gg]nu*)
SERVER_CMD="$GNUTLS_SERV $G_SERVER_ARGS --priority $G_SERVER_PRIO" SERVER_CMD="$GNUTLS_SERV $G_SERVER_ARGS --priority $G_SERVER_PRIO"
;; ;;
[Pp]olar*) mbed*)
SERVER_CMD="$P_SRV $P_SERVER_ARGS" SERVER_CMD="$P_SRV $P_SERVER_ARGS"
if [ "$MEMCHECK" -gt 0 ]; then if [ "$MEMCHECK" -gt 0 ]; then
SERVER_CMD="valgrind --leak-check=full $SERVER_CMD" SERVER_CMD="valgrind --leak-check=full $SERVER_CMD"
@ -889,7 +889,7 @@ run_client() {
fi fi
;; ;;
[Pp]olar*) mbed*)
CLIENT_CMD="$P_CLI $P_CLIENT_ARGS force_ciphersuite=$2" CLIENT_CMD="$P_CLI $P_CLIENT_ARGS force_ciphersuite=$2"
if [ "$MEMCHECK" -gt 0 ]; then if [ "$MEMCHECK" -gt 0 ]; then
CLIENT_CMD="valgrind --leak-check=full $CLIENT_CMD" CLIENT_CMD="valgrind --leak-check=full $CLIENT_CMD"
@ -985,7 +985,7 @@ fi
for PEER in $PEERS; do for PEER in $PEERS; do
case "$PEER" in case "$PEER" in
[Pp]olar*|[Oo]pen*|[Gg]nu*) mbed*|[Oo]pen*|[Gg]nu*)
;; ;;
*) *)
echo "Unknown peers: $PEER" >&2 echo "Unknown peers: $PEER" >&2
@ -1069,7 +1069,7 @@ for VERIFY in $VERIFIES; do
;; ;;
[Pp]olar*) mbed*)
reset_ciphersuites reset_ciphersuites
add_common_ciphersuites add_common_ciphersuites