Skip to content

Commit 395907a

Browse files
authored
Merge pull request #2144 from dcooper16/ossl3_compat_30
OpenSSL compatibility fix
2 parents 4a5d93d + cd89134 commit 395907a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

testssl.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9851,7 +9851,10 @@ run_pfs() {
98519851
curve_found="${curve_found%%,*}"
98529852
fi
98539853
for (( i=low; i < high; i++ )); do
9854-
! "${supported_curve[i]}" && [[ "${curves_ossl_output[i]}" == "$curve_found" ]] && break
9854+
if ! "${supported_curve[i]}"; then
9855+
[[ "${curves_ossl_output[i]}" == "$curve_found" ]] && break
9856+
[[ "${curves_ossl[i]}" == "$curve_found" ]] && break
9857+
fi
98559858
done
98569859
[[ $i -eq $high ]] && break
98579860
supported_curve[i]=true

0 commit comments

Comments
 (0)