[gnutls-devel] GnuTLS | provide a callback to intercept TLS messages being sent (#849)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Fri Oct 25 16:35:37 CEST 2019
Daiki Ueno created an issue: https://gitlab.com/gnutls/gnutls/issues/849
As mentioned in:
https://gitlab.com/gnutls/gnutls/issues/826#note_213450784
To send TLS messages in QUIC packets, we need a way to capture the TLS messages being sent. This can be implemented by providing a callback intercepting messages from TLS stack. The API would looks something like:
```c
/* content_type_t is currently private */
typedef int (*gnutls_record_write_callback_t)(gnutls_session_t, unsigned epoch, content_type_t, gnutls_datum_t *data);
void gnutls_record_set_write_callback(gnutls_session_t, gnutls_record_write_callback_t);
```
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/849
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/20191025/2e53b3da/attachment.html>
More information about the Gnutls-devel
mailing list