X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Fconf-ssl.h;h=c23737979a21e7043d1eed7ed488524b83742112;hp=428bcf45570c1ae0a8192de5b33148b7af20b1ae;hb=6171beb7ab5dc0586581660852576f437470df63;hpb=46b0eef721b9b3eec37d29aff65b6a7fc488a887 diff --git a/src/ngircd/conf-ssl.h b/src/ngircd/conf-ssl.h index 428bcf45..c2373797 100644 --- a/src/ngircd/conf-ssl.h +++ b/src/ngircd/conf-ssl.h @@ -33,15 +33,16 @@ 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 + char *fingerprint; }; #endif -bool ConnSSL_InitLibrary(void); +GLOBAL bool ConnSSL_InitLibrary PARAMS((void)); #endif /* conf_ssl_h */