Skip to content

Commit

Permalink
Support LibreSSL 4.0.0
Browse files Browse the repository at this point in the history
LibreSSL 4.0.0 was recently released. This commit modified the version check in determine_trust() so that there isn't an incorrect warning suggesting that LibreSSL 4.0.0 "<= 1.0.2 might be too unreliable to determine trust."
  • Loading branch information
dcooper16 authored Oct 25, 2024
1 parent 6452ec9 commit 3c54474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testssl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7637,7 +7637,7 @@ determine_trust() {
[[ -n $json_postfix ]] && spaces=" "

case $OSSL_VER_MAJOR.$OSSL_VER_MINOR in
1.0.2|1.1.0|1.1.1|2.[1-9].*|3.*) # 2.x is LibreSSL. 2.1.1 was tested to work, below is not sure
1.0.2|1.1.0|1.1.1|2.[1-9].*|3.*|4.*) # 2.x is LibreSSL. 2.1.1 was tested to work, below is not sure
:
;;
*) addtl_warning="Your $OPENSSL <= 1.0.2 might be too unreliable to determine trust"
Expand Down

0 comments on commit 3c54474

Please sign in to comment.