[gnutls-devel] GnuTLS | GnuTLS static library wrongly exports private symbols (#1703)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Wed Apr 23 01:36:13 CEST 2025




Daiki Ueno commented: https://gitlab.com/gnutls/gnutls/-/issues/1703#note_2463380944


Totally untested, but another approach might be to emit name mangling macros to `config.h`, through `AH_VERBATIM`, something like:
```
AH_VERBATIM([gnutls_lib_rename_gnulib_hash], [
#define hash_string _gnutls_internal_hash_string
...
])
```
though it would be cumbersome to identify any usage of "utility" functions provided by Gnulib. Maybe Gnulib could provide a built-in facility to do this kind of renaming?

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1703#note_2463380944
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/20250422/7f6ea017/attachment-0001.html>


More information about the Gnutls-devel mailing list