[gnutls-devel] libtasn1 | Make use of const variant of asn1_node (!9)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Wed Jul 10 12:26:22 CEST 2019




Tim Rühsen commented:


No why ? a const argument is just a promise that the called function doesn't change the memory it points to. Same with char pointers: you can give a 'char *' to a function argument that is 'const char *'. But if you try it the other way round, you'll see a warning (giving a 'const char *' to a 'char *' function argument).

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/libtasn1/merge_requests/9#note_190287598
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/20190710/b3803670/attachment.html>


More information about the Gnutls-devel mailing list