From: Daniel Stenberg Date: Tue, 17 Dec 2024 23:18:06 +0000 (+0100) Subject: cd2nroff: support "none" as a TLS backend X-Git-Tag: curl-8_12_0~321 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a787442e5d467f29933bd63f303393caaacb407e;p=thirdparty%2Fcurl.git 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 --- diff --git a/scripts/cd2nroff b/scripts/cd2nroff index 4c90500986..86cae21379 100755 --- a/scripts/cd2nroff +++ b/scripts/cd2nroff @@ -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 {