From 41f44896822f1e43751f4bec37c2a4939733b727 Mon Sep 17 00:00:00 2001 From: liuchao173 <55137861+liuchao173@users.noreply.github.com> Date: Tue, 31 Aug 2021 20:11:51 +0800 Subject: [PATCH] remove tls parameter description if without GnuTLS support Signed-off-by: SuperSix173 --- criu/crtools.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/criu/crtools.c b/criu/crtools.c index 9c96691d9..6a75cd1ea 100644 --- a/criu/crtools.c +++ b/criu/crtools.c @@ -484,12 +484,14 @@ usage: " -d|--daemon run in the background after creating socket\n" " --status-fd FD write \\0 to the FD and close it once process is ready\n" " to handle requests\n" +#ifdef CONFIG_GNUTLS " --tls-cacert FILE trust certificates signed only by this CA\n" " --tls-cacrl FILE path to CA certificate revocation list file\n" " --tls-cert FILE path to TLS certificate file\n" " --tls-key FILE path to TLS private key file\n" " --tls use TLS to secure remote connection\n" " --tls-no-cn-verify do not verify common name in server certificate\n" +#endif "\n" "Configuration file options:\n" " --config FILEPATH pass a specific configuration file\n"