diff options
author | Brian P. Hinz <bphinz@users.sf.net> | 2017-11-16 17:44:49 -0500 |
---|---|---|
committer | Brian P. Hinz <bphinz@users.sf.net> | 2017-11-16 17:50:07 -0500 |
commit | 1e14a3ee407c3dc23f64cbf3573487fc13996a0d (patch) | |
tree | 9471f49690a5d9c0c197ce5eee2e6b651b9e72e1 /win | |
parent | d8809e334fb8095c4ba5520b0151e02bb0527b59 (diff) | |
download | tigervnc-1e14a3ee407c3dc23f64cbf3573487fc13996a0d.tar.gz tigervnc-1e14a3ee407c3dc23f64cbf3573487fc13996a0d.zip |
Fix compile error on windows when not building with GnuTLS
Diffstat (limited to 'win')
-rw-r--r-- | win/rfb_win32/SecurityPage.cxx | 2 |
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; |