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
2 changed files with 2 additions and 2 deletions
|
@ -965,7 +965,7 @@ MAIN_PID="$$"
|
|||
|
||||
# Pick a "unique" port in the range 10000-19999.
|
||||
PORT="0000$$"
|
||||
PORT="1$(echo $PORT | tail -c 4)"
|
||||
PORT="1$(echo $PORT | tail -c 5)"
|
||||
|
||||
# Also pick a unique name for intermediate files
|
||||
SRV_OUT="srv_out.$$"
|
||||
|
|
|
@ -316,7 +316,7 @@ fi
|
|||
|
||||
# Pick a "unique" port in the range 10000-19999.
|
||||
PORT="0000$$"
|
||||
PORT="1$(echo $PORT | tail -c 4)"
|
||||
PORT="1$(echo $PORT | tail -c 5)"
|
||||
|
||||
# fix commands to use this port
|
||||
P_SRV="$P_SRV server_port=$PORT"
|
||||
|
|
Loading…
Reference in a new issue