[gnutls-devel] GnuTLS | Mark arguments of function gnutls_x509_crt_equals2 as const (!1000)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Tue May 21 13:44:10 CEST 2019




Yes, great idea to start with libtasn API. I can update this change to have it ready when libtasn is ready.

But I have some concerns about change to `asn1_find_node` function signature in the linked MR. It takes const arg now, and returns non-const result. In C++ usually there are 2 overloads for such `find`/`iterator` functions in std containers: one operates on const container and returns const result, another operates on non-const container and returns non-const result.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/1000#note_172727466
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/20190521/2f8d565e/attachment.html>


More information about the Gnutls-devel mailing list