[gnutls-devel] GnuTLS | ktls: API (!1477)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Fri Dec 3 13:06:01 CET 2021



Merge request https://gitlab.com/gnutls/gnutls/-/merge_requests/1477 was reviewed by Daiki Ueno

--
  
Daiki Ueno started a new discussion on lib/includes/gnutls/socket.h: https://gitlab.com/gnutls/gnutls/-/merge_requests/1477#note_751757225

> +
> +/**
> + * gnutls_transport_ktls_enable_flags:

Suffix `_t`, as suggested in https://gitlab.com/gnutls/gnutls/-/blob/master/CONTRIBUTING.md#constructed-types

--
  
Daiki Ueno started a new discussion on lib/system/ktls.c: https://gitlab.com/gnutls/gnutls/-/merge_requests/1477#note_751757242

>   **/
> -int _gnutls_ktls_enable(gnutls_session_t session, int sockin, int sockout)
> +unsigned gnutls_transport_is_ktls_enabled(gnutls_session_t session){

Now that this returns flags (instead of a boolean), using the enum type (`gnutls_transport_ktls_enable_flags`) as a return type would be more appropriate.


-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1477
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/20211203/ca40a111/attachment.html>


More information about the Gnutls-devel mailing list