Mercurial > hg > freeDiameter
diff libfdcore/cnxctx.h @ 807:09f8f0c4f4a4
Several changes to support GnuTLS 3.x in a more efficient way
author | Sebastien Decugis <sdecugis@freediameter.net> |
---|---|
date | Fri, 24 Aug 2012 00:15:48 +0200 |
parents | 4a9f08d6b6ba |
children | c0a88c1bcc1e |
line wrap: on
line diff
--- a/libfdcore/cnxctx.h Wed Aug 22 23:04:38 2012 +0200 +++ b/libfdcore/cnxctx.h Fri Aug 24 00:15:48 2012 +0200 @@ -97,7 +97,9 @@ /* TLS */ int fd_tls_rcvthr_core(struct cnxctx * conn, gnutls_session_t session); int fd_tls_prepare(gnutls_session_t * session, int mode, char * priority, void * alt_creds); +#ifndef GNUTLS_VERSION_300 int fd_tls_verify_credentials(gnutls_session_t session, struct cnxctx * conn, int verbose); +#endif /* GNUTLS_VERSION_300 */ /* TCP */ int fd_tcp_create_bind_server( int * sock, sSA * sa, socklen_t salen ); @@ -142,6 +144,5 @@ #endif /* DISABLE_SCTP */ - #endif /* _CNXCTX_H */