[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 14:47:57 CEST 2019
Nikos Mavrogiannopoulos commented on a discussion on lib/coding.c: https://gitlab.com/gnutls/libtasn1/merge_requests/9#note_190349157
> * length needed.
> -asn1_der_coding (asn1_node element, const char *name, void *ider, int *len,
> +asn1_der_coding (asn1_node_const element, const char *name, void *ider, int *len,
I was thinking whether a compile could warn about different types, but it seems neither gcc or clang do that. My next question is why typedef to a different type, and not prepent the const?
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/libtasn1/merge_requests/9#note_190349157
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gnutls-devel