From a787442e5d467f29933bd63f303393caaacb407e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 18 Dec 2024 00:18:06 +0100 Subject: [PATCH] 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 --- scripts/cd2nroff | 4 ++++ 1 file changed, 4 insertions(+) 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 { -- 2.47.3