check_iperf3: use vulnerable openssl settings since debian packages aren't updated while bsd is

This commit is contained in:
Cyberes 2024-08-31 19:51:28 -06:00
parent b8c915c1ae
commit 5026314923
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ export IPERF3_PASSWORD="$PASSWORD"
# Run iperf3 command with optional arguments
for ((i = 1; i <= RETRY; i++)); do
if [[ -n "$RSA_PUBLIC_KEY" ]] && [[ -n "$USERNAME" ]]; then
OUTPUT=$(iperf3 -c "$SERVER" -i 1 -t 30 -f m --rsa-public-key-path "$RSA_PUBLIC_KEY" --username "$USERNAME" 2>&1)
OUTPUT=$(iperf3 -c "$SERVER" -i 1 -t 30 -f m --rsa-public-key-path "$RSA_PUBLIC_KEY" --username "$USERNAME" --use-pkcs1-padding 2>&1)
else
OUTPUT=$(iperf3 -c "$SERVER" -i 1 -t 10 -f m 2>&1)
fi