cd2nroff: support "none" as a TLS backend

When we remove support for a specific TLS backend, it might be the only
one that supports a specific feature and then we need to be able to go
"none".

Closes #15769
This commit is contained in:
Daniel Stenberg 2024-12-18 00:18:06 +01:00
parent c5052a0187
commit a787442e5d
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -134,6 +134,9 @@ sub outtls {
if($t[0] eq "All") {
push @o, "\nAll TLS backends support this option.";
}
elsif($t[0] eq "none") {
push @o, "\nNo TLS backend supports this option.";
}
else {
push @o, "\nThis option works only with the following TLS backends:\n";
my @s = sort @t;
@ -192,6 +195,7 @@ my %knowntls = (
'Secure Transport' => 1,
'wolfSSL' => 1,
'All' => 1,
'none' => 1,
);
sub single {