Skip to content

Commit 0dac50c

Browse files
authored
Merge pull request #2272 from dcooper16/fix2271
Fix #2271
2 parents 92a80f7 + 43fade4 commit 0dac50c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

testssl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17998,7 +17998,7 @@ run_drown() {
1799817998
# to $CERT_FINGERPRINT_SHA2, so if $CERT_FINGERPRINT_SHA2 is not empty, but
1799917999
# $RSA_CERT_FINGERPRINT_SHA2 is empty, then the server doesn't have an RSA certificate.
1800018000
if [[ -z "$CERT_FINGERPRINT_SHA2" ]]; then
18001-
get_host_cert "-cipher aRSA"
18001+
get_host_cert "-cipher aRSA -no_ssl2"
1800218002
[[ $? -eq 0 ]] && cert_fingerprint_sha2="$($OPENSSL x509 -noout -in $HOSTCERT -fingerprint -sha256 2>>$ERRFILE | sed -e 's/^.*Fingerprint=//' -e 's/://g' )"
1800318003
else
1800418004
cert_fingerprint_sha2="$RSA_CERT_FINGERPRINT_SHA2"

0 commit comments

Comments
 (0)