[gnutls-devel] GnuTLS | Regression in 3.6 when built with mingw (#751)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Wed Apr 10 18:53:31 CEST 2019




J_ Ali Harlow commented on a discussion:

@rockdaboot No, I'm afraid it still fails. With the extra information you have provided, however, I can see that what is happening is that do_handshake() is calling set_read_funcs() which is setting the push function to system_write() thus socket_open2()'s call to gnutls_transport_set_push_function() is not effective. It's interesting to note that the implementation of gnutls_transport_set_push_function() and gnutls_transport_set_vec_push_function() appear to suggest that only one of these two functions should need to be called.

To be clear, by the time gnutls_handshake() is called, session->internals->push_func is set to system_write and session->internals->vec_push_func is NULL.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/751#note_159501095
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20190410/9da99623/attachment.html>


More information about the Gnutls-devel mailing list