]> arthur.barton.de Git - ngircd-alex.git/commitdiff
conf-ssl.h: Use "gnutls_session_t" instead of "gnutls_session"
authorAlexander Barton <alex@barton.de>
Sun, 11 Nov 2012 09:49:06 +0000 (10:49 +0100)
committerAlexander Barton <alex@barton.de>
Sun, 11 Nov 2012 09:50:32 +0000 (10:50 +0100)
This fixes the following warning with current versions of GnuTLS:
  conf-ssl.h:36: warning: "gnutls_session" is deprecated

src/ngircd/conf-ssl.h

index 428bcf45570c1ae0a8192de5b33148b7af20b1ae..22897ef51356aed7136a2a662398a9c44aa3254e 100644 (file)
@@ -33,7 +33,7 @@ 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