Nikos Mavrogiannopoulos nmav@redhat.com writes:
A backwards compatible approach is to leave the nettle_hashes accessible and provide the function as well. That will not be any more broken than 3.3 is, and would allow 3.3 programs to be linked with 3.4 without recompilation.
Could work.
You can warn on use of nettle_hashes with the attached patch, most likely you can introduce a custom message as well with the replacement function.
I think I'd prefer to use
#define nettle_hashes (get_nettle_hashes())
so that a recompile fixes the issue without any source code changes.
Regards, /Niels