]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
cd2nroff: support "none" as a TLS backend
authorDaniel Stenberg <daniel@haxx.se>
Tue, 17 Dec 2024 23:18:06 +0000 (00:18 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 18 Dec 2024 07:13:47 +0000 (08:13 +0100)
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

scripts/cd2nroff

index 4c9050098682dc9263e180016d6149bf4b2687ea..86cae213797164bcaea6c117b84f6b0f62368b9b 100755 (executable)
@@ -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 {