disable heartbeats if tlsext disabled

This commit is contained in:
Dr. Stephen Henson 2012-01-05 00:07:34 +00:00
parent 801e5ef840
commit 52bef4d677

View File

@ -1019,10 +1019,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") {