mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-23 02:05:45 +01:00
Fix port selection in ssl test scripts
Port was selected in the 1000-1999 range which is bad (system ports).
This commit is contained in:
parent
e41072e7f9
commit
fab2a3c3d6
@ -965,7 +965,7 @@ MAIN_PID="$$"
|
|||||||
|
|
||||||
# Pick a "unique" port in the range 10000-19999.
|
# Pick a "unique" port in the range 10000-19999.
|
||||||
PORT="0000$$"
|
PORT="0000$$"
|
||||||
PORT="1$(echo $PORT | tail -c 4)"
|
PORT="1$(echo $PORT | tail -c 5)"
|
||||||
|
|
||||||
# Also pick a unique name for intermediate files
|
# Also pick a unique name for intermediate files
|
||||||
SRV_OUT="srv_out.$$"
|
SRV_OUT="srv_out.$$"
|
||||||
|
@ -316,7 +316,7 @@ fi
|
|||||||
|
|
||||||
# Pick a "unique" port in the range 10000-19999.
|
# Pick a "unique" port in the range 10000-19999.
|
||||||
PORT="0000$$"
|
PORT="0000$$"
|
||||||
PORT="1$(echo $PORT | tail -c 4)"
|
PORT="1$(echo $PORT | tail -c 5)"
|
||||||
|
|
||||||
# fix commands to use this port
|
# fix commands to use this port
|
||||||
P_SRV="$P_SRV server_port=$PORT"
|
P_SRV="$P_SRV server_port=$PORT"
|
||||||
|
Loading…
Reference in New Issue
Block a user