]> source.dussan.org Git - tigervnc.git/commitdiff
Fix compile error on windows when not building with GnuTLS
authorBrian P. Hinz <bphinz@users.sf.net>
Thu, 16 Nov 2017 22:44:49 +0000 (17:44 -0500)
committerBrian P. Hinz <bphinz@users.sf.net>
Thu, 16 Nov 2017 22:50:07 +0000 (17:50 -0500)
win/rfb_win32/SecurityPage.cxx

index f0c21afb2a4fcdf501bf08e21e5f4c5c639afc45..e540702de9af013d88aadb8f906c2d0d546de22e 100644 (file)
@@ -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;