svn commit: r193446 - in projects/clangbsd: crypto/openssl/crypto/rc5 secure/lib/libcrypto

M. Warner Losh imp at bsdimp.com
Thu Jun 4 22:39:39 UTC 2009


In message: <200906041803.n54I3DCG099513 at svn.freebsd.org>
            Ed Schouten <ed at FreeBSD.org> writes:
: Author: ed
: Date: Thu Jun  4 18:03:13 2009
: New Revision: 193446
: URL: http://svn.freebsd.org/changeset/base/193446
: 
: Log:
:   Allow us to build libcrypto with Clang.
: 
: Modified:
:   projects/clangbsd/crypto/openssl/crypto/rc5/rc5.h
:   projects/clangbsd/secure/lib/libcrypto/Makefile
:   projects/clangbsd/secure/lib/libcrypto/Makefile.inc
: 
: Modified: projects/clangbsd/crypto/openssl/crypto/rc5/rc5.h
: ==============================================================================
: --- projects/clangbsd/crypto/openssl/crypto/rc5/rc5.h	Thu Jun  4 18:03:03 2009	(r193445)
: +++ projects/clangbsd/crypto/openssl/crypto/rc5/rc5.h	Thu Jun  4 18:03:13 2009	(r193446)
: @@ -73,7 +73,11 @@ extern "C" {
:  #define RC5_DECRYPT	0
:  
:  /* 32 bit.  For Alpha, things may get weird */
: +#ifdef __amd64__
: +#define RC5_32_INT unsigned int
: +#else
:  #define RC5_32_INT unsigned long
: +#endif

Why not 
#define RC5_32_INT unsigned int

which will do the right thing on all our platforms????

Warner


More information about the svn-src-projects mailing list