summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
Diffstat (limited to 'win')
-rw-r--r--win/rfb_win32/SecurityPage.cxx2
1 files changed, 2 insertions, 0 deletions
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<U32> secTypes;