On Mon, 2017-10-23 at 22:52 +0200, Niels Möller wrote:
Nikos Mavrogiannopoulos nmav@redhat.com writes:
On Thu, 2017-09-28 at 21:48 +0200, Niels Möller wrote:
To get minimal ABI breakage, I also suspect we would need a release branch where I revert recent changes that grow the size of struct ecc_curve; my idea is to introduce functions returning pointers to the instances of this struct. But as long as applications are using the data symbols directly as advertised in ecc-curves.h, executables with R_X86_64_COPY relocations will break, in the same way as arrays like nettle_hashes.
I agree that this is the most important to address. I don't think I have any good suggestion in addressing that.
Below is my work-in-progress patch. Comments appreciated.
The changes seem good and backwards compatible. I haven't tested compiling gnutls or running its test suite though.
regards, Nikos