disable heartbeats if tlsext disabled

This commit is contained in:
Dr. Stephen Henson 2012-01-05 00:07:46 +00:00
parent 4d0bafb4ae
commit e2ca32fc2b

View File

@ -1045,10 +1045,11 @@ if (defined($disabled{"ec"}) || defined($disabled{"dsa"})
$disabled{"gost"} = "forced";
}
# SRP requires TLSEXT
# SRP and HEARTBEATS require TLSEXT
if (defined($disabled{"tlsext"}))
{
$disabled{"srp"} = "forced";
$disabled{"heartbeats"} = "forced";
}
if ($target eq "TABLE") {