Ticket #7808: only-call-gnutls-transport_set_lowat-with-gnutls-2.12.patch

File only-call-gnutls-transport_set_lowat-with-gnutls-2.12.patch, 530 bytes (added by Heiko Becker, 13 years ago)
  • src/engine/tlssocket.cpp

     
    113113    gnutls_transport_set_push_function(m_session, PushFunction);
    114114    gnutls_transport_set_pull_function(m_session, PullFunction);
    115115    gnutls_transport_set_ptr(m_session, (gnutls_transport_ptr_t)this);
     116#if GNUTLS_VERSION_NUMBER < 0x020c00
    116117    gnutls_transport_set_lowat(m_session, 0);
     118#endif
    117119
    118120    m_shutdown_requested = false;
    119121