mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-05 16:29:45 +01:00
OpenSSL compatibility fix
OpenSSL 3.0.X uses different names for some elliptic cures in the "Server Temp Key" line than previous previous versions. This commit addresses this issue by checking for both names.
This commit is contained in:
parent
bc2c8d6eaa
commit
cd89134338
@ -9846,7 +9846,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
|
||||
|
Loading…
Reference in New Issue
Block a user