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

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Tue Dec 3 15:59:26 CET 2019




Tim Rühsen started a new discussion on lib/str.h: https://gitlab.com/gnutls/gnutls/merge_requests/917#note_253995926

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

Why isn't the return type a bool ? `return strlen(str) != size;`

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/917#note_253995926
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/20191203/99dea680/attachment-0001.html>


More information about the Gnutls-devel mailing list