patch for cipher/sha512.c (u64 numbers)

David Shaw dshaw at jabberwocky.com
Fri May 9 16:05:02 CEST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, May 08, 2003 at 05:01:12PM +0200, Werner Koch wrote:
> On Tue, 6 May 2003 16:50:52 +0200, Christoph Moench-Tegeder said:
> 
> > In cipher/sha512.c u64 (long long int on most platforms) constants
> > are without modifier 'LL' in assignments. At least HP's cc in ANSI
> 
> To my knowledge the LL suffix is not C-89 and thus we can't use it.
> The simple solution is to fix HP's compiler or write an autoconf test
> to detect such a broken compiler.

Yes, LL is C99.  I think I can make an autoconf test without too much
trouble.

David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: http://www.jabberwocky.com/david/keys.asc

iD8DBQE+u6en4mZch0nhy8kRAo4gAKDF2gfrbKRfD2olsLncm1aOh17aqgCePTiA
f3nmVUSxdk0H2egl1q7DHnc=
=Fx4Q
-----END PGP SIGNATURE-----




More information about the Gnupg-devel mailing list