[gnutls-devel] GnuTLS | support non-NULL-terminated PSKs (!917)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Mon Jan 27 17:55:04 CET 2020




Nikos Mavrogiannopoulos commented on a discussion on lib/str.h: https://gitlab.com/gnutls/gnutls/merge_requests/917#note_277548273

>  	return 1;
>  }
>  
> +inline static int _gnutls_has_embedded_null(const char *str, unsigned size)

Feel free to make it bool, the introduction of bool in best practices for project are relative recent so there is old code not using it.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/917#note_277548273
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/20200127/0b0f156a/attachment-0001.html>


More information about the Gnutls-devel mailing list