From: Brian P. Hinz Date: Thu, 16 Nov 2017 22:44:49 +0000 (-0500) Subject: Fix compile error on windows when not building with GnuTLS X-Git-Tag: v1.8.90~69 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1e14a3ee407c3dc23f64cbf3573487fc13996a0d;p=tigervnc.git Fix compile error on windows when not building with GnuTLS --- 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;