diff options
Diffstat (limited to '')
-rw-r--r-- | server.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -115,6 +115,7 @@ void Server::connectionSuccessful() { outputBuf.clear(); // Do we need to do any TLS junk? +#ifdef USE_GNUTLS if (useTls) { state = CS_TLS_HANDSHAKE; @@ -135,7 +136,9 @@ void Server::connectionSuccessful() { gnutls_transport_set_int(tls, sock); tlsActive = true; - } else { + } else +#endif + { connectedEvent(); } } |