[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
Mon May 20 18:00:09 CEST 2019

You're right. For some reason I didn't get any warnings while there are functions called which use non-const arguments. Unfortunately, there is a chain of calls gnutls_x509_crt_equals2 -> gnutls_x509_crt_export2 -> _gnutls_x509_export_int_named2 -> _gnutls_x509_der_encode -> asn1_der_coding (from libtasn1), and it looks like libtasn1 extensively uses non-const arguments. Until it is changed to use const arguments as well where it can be used, this change would require a workaround for that. I don't want to make such workaround for now.

Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/1000#note_172359975
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/20190520/9241105f/attachment.html>

More information about the Gnutls-devel mailing list