Merge pull request #2144 from dcooper16/ossl3_compat_30

OpenSSL compatibility fix
This commit is contained in:
Dirk Wetter 2022-04-07 21:34:30 +02:00 committed by GitHub
commit 395907a79f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9851,7 +9851,10 @@ run_pfs() {
curve_found="${curve_found%%,*}"
fi
for (( i=low; i < high; i++ )); do
! "${supported_curve[i]}" && [[ "${curves_ossl_output[i]}" == "$curve_found" ]] && break
if ! "${supported_curve[i]}"; then
[[ "${curves_ossl_output[i]}" == "$curve_found" ]] && break
[[ "${curves_ossl[i]}" == "$curve_found" ]] && break
fi
done
[[ $i -eq $high ]] && break
supported_curve[i]=true