compat.sh modified to support new ssl_server2 and ssl_client2
capabilities
This commit is contained in:
parent
c1516be99d
commit
89fe7f4388
1 changed files with 4 additions and 4 deletions
|
@ -130,7 +130,7 @@ sleep 1
|
||||||
|
|
||||||
for i in $P_CIPHERS;
|
for i in $P_CIPHERS;
|
||||||
do
|
do
|
||||||
RESULT="$( ../programs/ssl/ssl_client2 $P_CLIENT_ARGS force_ciphersuite=$i )"
|
RESULT="$( ../programs/ssl/ssl_client2 $P_CLIENT_ARGS force_ciphersuite=$i force_version=$MODE )"
|
||||||
EXIT=$?
|
EXIT=$?
|
||||||
echo -n "OpenSSL Server - PolarSSL Client - $i : $EXIT - "
|
echo -n "OpenSSL Server - PolarSSL Client - $i : $EXIT - "
|
||||||
if [ "$EXIT" = "2" ];
|
if [ "$EXIT" = "2" ];
|
||||||
|
@ -146,7 +146,7 @@ do
|
||||||
done
|
done
|
||||||
kill $PROCESS_ID
|
kill $PROCESS_ID
|
||||||
|
|
||||||
../programs/ssl/ssl_server2 $P_SERVER_ARGS > /dev/null &
|
../programs/ssl/ssl_server2 $P_SERVER_ARGS force_version=$MODE > /dev/null &
|
||||||
PROCESS_ID=$!
|
PROCESS_ID=$!
|
||||||
|
|
||||||
sleep 1
|
sleep 1
|
||||||
|
@ -176,7 +176,7 @@ done
|
||||||
|
|
||||||
kill $PROCESS_ID
|
kill $PROCESS_ID
|
||||||
|
|
||||||
../programs/ssl/ssl_server2 $P_SERVER_ARGS > /dev/null &
|
../programs/ssl/ssl_server2 $P_SERVER_ARGS force_version=$MODE > /dev/null &
|
||||||
PROCESS_ID=$!
|
PROCESS_ID=$!
|
||||||
|
|
||||||
sleep 1
|
sleep 1
|
||||||
|
@ -223,7 +223,7 @@ P_CIPHERS="$P_CIPHERS \
|
||||||
|
|
||||||
for i in $P_CIPHERS;
|
for i in $P_CIPHERS;
|
||||||
do
|
do
|
||||||
RESULT="$( ../programs/ssl/ssl_client2 force_ciphersuite=$i $P_CLIENT_ARGS )"
|
RESULT="$( ../programs/ssl/ssl_client2 force_ciphersuite=$i force_version=$MODE $P_CLIENT_ARGS )"
|
||||||
EXIT=$?
|
EXIT=$?
|
||||||
echo -n "PolarSSL Server - PolarSSL Client - $i : $EXIT - "
|
echo -n "PolarSSL Server - PolarSSL Client - $i : $EXIT - "
|
||||||
if [ "$EXIT" = "2" ];
|
if [ "$EXIT" = "2" ];
|
||||||
|
|
Loading…
Reference in a new issue