Module: ngircd.git Branch: master Commit: 6f531a3c99ca267370b8f77cd3e51d751fb48826 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=6f531...
Author: Alexander Barton alex@barton.de Date: Sun Nov 11 10:49:06 2012 +0100
conf-ssl.h: Use "gnutls_session_t" instead of "gnutls_session"
This fixes the following warning with current versions of GnuTLS: conf-ssl.h:36: warning: "gnutls_session" is deprecated
---
src/ngircd/conf-ssl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ngircd/conf-ssl.h b/src/ngircd/conf-ssl.h index 428bcf4..22897ef 100644 --- a/src/ngircd/conf-ssl.h +++ b/src/ngircd/conf-ssl.h @@ -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