diff options
Diffstat (limited to 'vncviewer/vncviewer.cxx')
-rw-r--r-- | vncviewer/vncviewer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vncviewer/vncviewer.cxx b/vncviewer/vncviewer.cxx index 4afdba46..3f30fada 100644 --- a/vncviewer/vncviewer.cxx +++ b/vncviewer/vncviewer.cxx @@ -754,8 +754,8 @@ int main(int argc, char** argv) mkvnchomedir(); CSecurity::upg = &dlg; -#ifdef HAVE_GNUTLS - CSecurityTLS::msg = &dlg; +#if defined(HAVE_GNUTLS) || defined(HAVE_NETTLE) + CSecurity::msg = &dlg; #endif Socket *sock = NULL; |