patch for cipher/sha512.c (u64 numbers)

Werner Koch wk at
Sat May 10 12:20:02 CEST 2003

On Fri, 9 May 2003 16:05:01 -0400, David Shaw said:

> The point of using LL was to avoid a problem with compilers which do
> support >=64-bit types, but truncate 64-bit constants to 32 bits if
> there is no LL.  If doing this causes more breakage than help, then I
> should reconsider.

What about detecting broken compilers and disabling the use of 64 but
types in that case. We already detect whether a 64 bit type is
supported and so we can simply conclude that a broken compiler is not
capable of handling a 64 bit type.  The warning message might print an
approriate hint (use gcc or fix your compiler).

  Nonviolence is the greatest force at the disposal of
  mankind. It is mightier than the mightiest weapon of
  destruction devised by the ingenuity of man. -Gandhi

More information about the Gnupg-devel mailing list