1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-01-31 17:49:11 +00:00

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
This commit is contained in:
Alexander Barton 2012-11-11 10:49:06 +01:00
parent 53917fa4b8
commit 6f531a3c99

View File

@ -33,7 +33,7 @@ struct ConnSSL_State {
SSL *ssl; SSL *ssl;
#endif #endif
#ifdef HAVE_LIBGNUTLS #ifdef HAVE_LIBGNUTLS
gnutls_session gnutls_session; gnutls_session_t gnutls_session;
void *cookie; /* pointer to server configuration structure void *cookie; /* pointer to server configuration structure
(for outgoing connections), or NULL. */ (for outgoing connections), or NULL. */
#endif #endif