summaryrefslogtreecommitdiff
path: root/gweb/giognutls.c
AgeCommit message (Collapse)AuthorFilesLines
2012-05-21gweb: Add function to check for TLS supportMarcel Holtmann1-0/+5
2012-04-29gweb: Update copyright informationMarcel Holtmann1-1/+1
2012-04-20gweb: don't use deprecated gnutls_session typedefLucas De Marchi1-1/+1
According to gnutls/compat.h, gnutls_session typedef was deprecated since 2.x in favor of gnutls_session_t. Use the new typedef then.
2011-11-10gweb: Use gcc atomics instead glib's onesDaniel Wagner1-2/+2
g_atomic_int_exchange_and_add() has been removed from glib 2.30 and g_atomic_int_add() should be used. Though there are still quite a few distros out which do not ship a glib version with g_atomic_int_add(). Instead of maintaing a compatiblilty glib layer we just use the built-in functions for atomic memory access.
2011-07-24gweb: Fix gnutls_priority_set_direct() for various GnuTLS versionsMarcel Holtmann1-3/+5
2011-07-01gweb: Use GnuTLS priority string to provide wide compatibilityLucas De Marchi1-1/+2
This priority string will only enable SSL 3.0 and TLS 1.0 as protocols and will disable, via the %COMPAT keyword, several TLS protocol options that are known to cause compatibility problems. Reference: http://www.gnu.org/software/gnutls/manual/html_node/Interoperability.html#Interoperability
2011-07-01gweb: Remove call to deprecated GnuTLS functionLucas De Marchi1-0/+2
If we use gnutls 2.12.0 or later it's necessary to call gnutls_transport_set_lowat() to disable the lowat functionality. Since this function is deprecated in new versions of gnutls, call it only if using an older version.
2010-11-08Use file descriptor directly instead of GIOChannelMarcel Holtmann1-30/+40
2010-11-07Deal with EAGAIN and GnuTLS channelsMarcel Holtmann1-1/+21
2010-11-07Add support for handling non-blocking GnuTLS channelsMarcel Holtmann1-7/+33
2010-10-30Only disable encoding within GIOGnuTLS channelMarcel Holtmann1-2/+1
2010-10-30Add support for g_io_channel_gnutls_new() functionMarcel Holtmann1-0/+404