Skip to content

Commit 3261e6e

Browse files
authored
Merge pull request #2273 from dcooper16/fix2271_30
Fix #2271
2 parents 52fe210 + f929e39 commit 3261e6e

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
@@ -15646,7 +15646,7 @@ run_drown() {
1564615646
# to $CERT_FINGERPRINT_SHA2, so if $CERT_FINGERPRINT_SHA2 is not empty, but
1564715647
# $RSA_CERT_FINGERPRINT_SHA2 is empty, then the server doesn't have an RSA certificate.
1564815648
if [[ -z "$CERT_FINGERPRINT_SHA2" ]]; then
15649-
get_host_cert "-cipher aRSA"
15649+
get_host_cert "-cipher aRSA -no_ssl2"
1565015650
[[ $? -eq 0 ]] && cert_fingerprint_sha2="$($OPENSSL x509 -noout -in $HOSTCERT -fingerprint -sha256 2>>$ERRFILE | sed -e 's/^.*Fingerprint=//' -e 's/://g' )"
1565115651
else
1565215652
cert_fingerprint_sha2="$RSA_CERT_FINGERPRINT_SHA2"

0 commit comments

Comments
 (0)