[gnutls-devel] Nettle 3.0 merges count_high/count_low into 64-bit count in many cases
jpbion at jfwest.com
jpbion at jfwest.com
Mon Jun 9 17:13:07 CEST 2014
Nikos -
Thank you for the reply. I am quite surprised at the choices of the
Nettle team. The projects in the GNU tool-chain should be friends, and I
cannot imagine a more important client of Nettle's then GNUTLS. To go
and remove compatibility with prior versions, and not even coordinate it
with their most important client just seems to be a poor decision from
the Nettle team, at least in my opinion.
-Joel
On 2014-06-09 00:44, Nikos Mavrogiannopoulos wrote:
> On Mon, Jun 9, 2014 at 12:27 AM, Joel Bion <jpbion at jfwest.com> wrote:
>> This makes GnuTLS no longer compile:
>> CC sha-padlock.lo
>> In file included from sha-padlock.c:29:0:
>> sha-padlock.c: In function 'padlock_sha1_update':
>> sha-padlock.c:81:46: error: 'struct sha1_ctx' has no member named
>> 'count_high'
>> MD_UPDATE(ctx, length, data, SHA1_COMPRESS, MD_INCR(ctx));
>> ...look at /usr/include/nettle/sha1.h to see the definition of
>> sha1_ctx
>> Looks like some of the GnuTLS code that assumes the count is in two
>> parts
>> needs to deal with the fact it now is in one part?
>
> Hello,
> Most probably the code needs to be updated or we could just copy
> these definitions from the older nettle. Nettle 3.0 broke API and ABI
> and porting gnutls to it would take some time. As its API and ABI
> aren't stable yet and there are no new features we urgently need from
> it, porting to it is not on my immediate plans.
>
> regards,
> Nikos
More information about the Gnutls-devel
mailing list