]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/conf-ssl.h
Allow "@" character in user names for authentication
[ngircd-alex.git] / src / ngircd / conf-ssl.h
index 3fab579ca7c41983756d38dc3f968e1e2abfc2fe..22897ef51356aed7136a2a662398a9c44aa3254e 100644 (file)
@@ -33,19 +33,15 @@ struct ConnSSL_State {
        SSL *ssl;
 #endif
 #ifdef HAVE_LIBGNUTLS
-       gnutls_session gnutls_session;
+       gnutls_session_t gnutls_session;
        void *cookie;           /* pointer to server configuration structure
                                   (for outgoing connections), or NULL. */
 #endif
 };
 
-bool
-ConnSSL_InitLibrary(void);
-#else
-static inline bool
-ConnSSL_InitLibrary(void)
-{ return true; }
-#endif /* SSL_SUPPORT */
+#endif
+
+bool   ConnSSL_InitLibrary(void);
 
 #endif /* conf_ssl_h */