From 1e14a3ee407c3dc23f64cbf3573487fc13996a0d Mon Sep 17 00:00:00 2001 From: "Brian P. Hinz" Date: Thu, 16 Nov 2017 17:44:49 -0500 Subject: [PATCH] Fix compile error on windows when not building with GnuTLS --- win/rfb_win32/SecurityPage.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/win/rfb_win32/SecurityPage.cxx b/win/rfb_win32/SecurityPage.cxx index f0c21afb..e540702d 100644 --- a/win/rfb_win32/SecurityPage.cxx +++ b/win/rfb_win32/SecurityPage.cxx @@ -120,7 +120,9 @@ SecurityPage::onCommand(int id, int cmd) bool SecurityPage::onOk() { +#ifdef HAVE_GNUTLS bool x509_loaded = false; +#endif bool vnc_loaded = false; list secTypes; -- 2.39.5