[gnutls-devel] Nettle 3.0 merges count_high/count_low into 64-bit count in many cases

Joel Bion jpbion at jfwest.com
Mon Jun 9 00:27:17 CEST 2014


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?

-Joel

                                              ^




More information about the Gnutls-devel mailing list