commit | 1e14a3ee407c3dc23f64cbf3573487fc13996a0d | [log] [tgz] |
---|---|---|
author | Brian P. Hinz <bphinz@users.sf.net> | Thu Nov 16 17:44:49 2017 -0500 |
committer | Brian P. Hinz <bphinz@users.sf.net> | Thu Nov 16 17:50:07 2017 -0500 |
tree | 9471f49690a5d9c0c197ce5eee2e6b651b9e72e1 | |
parent | d8809e334fb8095c4ba5520b0151e02bb0527b59 [diff] |
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 f0c21af..e540702 100644 --- a/win/rfb_win32/SecurityPage.cxx +++ b/win/rfb_win32/SecurityPage.cxx
@@ -120,7 +120,9 @@ bool SecurityPage::onOk() { +#ifdef HAVE_GNUTLS bool x509_loaded = false; +#endif bool vnc_loaded = false; list<U32> secTypes;