From 49629380a7bdba25c24c9d410b79946fe29249f0 Mon Sep 17 00:00:00 2001 From: Gisle Vanem Date: Mon, 2 Jan 2017 17:17:51 +0100 Subject: [PATCH] Crash in options.c When compiling with --disable-crypto, openvpn would crash on --help as commit 5d429efd97 introduce and extra %d into the "usage_message" string but forgot to add it to the #ifndef ENABLE_CRYPTO fprintf() call. Acked-by: Gert Doering Message-Id: <9d41f9dd-a587-5c1e-2e0d-ebb6c921f4ae@yahoo.no> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg13808.html Signed-off-by: Gert Doering --- src/openvpn/options.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/openvpn/options.c b/src/openvpn/options.c index bfedb6ae0..5df2dba27 100644 --- a/src/openvpn/options.c +++ b/src/openvpn/options.c @@ -4080,6 +4080,7 @@ usage(void) fprintf(fp, usage_message, title_string, o.ce.connect_retry_seconds, + o.ce.connect_retry_seconds_max, o.ce.local_port, o.ce.remote_port, TUN_MTU_DEFAULT, TAP_MTU_EXTRA_DEFAULT, o.verbosity); -- 2.47.2