fixing BR #297 and #309 improved default aliases
[quassel.git] / src / core / sslserver.h
index de6030a..1a02cff 100644 (file)
  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
  ***************************************************************************/
 
-#ifndef QT_NO_OPENSSL
-
 #ifndef SSLSERVER_H
 #define SSLSERVER_H
 
-#include <QTcpServer>
-#include <QLinkedList>
+#ifdef HAVE_SSL
+
 #include <QSslCertificate>
 #include <QSslKey>
+#include <QTcpServer>
+#include <QLinkedList>
 
 class SslServer : public QTcpServer {
   Q_OBJECT
@@ -51,6 +51,6 @@ private:
   bool _certIsValid;
 };
 
-#endif //SSLSERVER_H
+#endif //HAVE_SSL
 
-#endif //QT_NO_OPENSSL
+#endif //SSLSERVER_H