Subject: Re: CVS commit: src/crypto/dist/openssl/crypto/bn
To: Martin Husemann <martin@duskware.de>
From: Christos Zoulas <christos@zoulas.com>
List: source-changes
Date: 11/30/2005 11:42:20
On Nov 30,  3:49pm, martin@duskware.de (Martin Husemann) wrote:
-- Subject: Re: CVS commit: src/crypto/dist/openssl/crypto/bn

| On Wed, Nov 30, 2005 at 08:51:58AM -0500, Christos Zoulas wrote:
| > Yes, we can try that. I am not sure if the 64 bit code is well tested though.
| 
| I'm not sure either, but it's what has been used in pkgsrc openssl on at
| least sparc64 and amd64 for quite some time now.

Well, we can change opensslconf.h to:

#ifdef __LP64__
#define SIXTY_FOUR_BIT_LONG
#define SIXTY_FOUR_BIT
#undef THIRTY_TWO_BIT
#else
#undef SIXTY_FOUR_BIT_LONG
#undef SIXTY_FOUR_BIT
#define THIRTY_TWO_BIT
#endif
#undef SIXTEEN_BIT
#undef EIGHT_BIT

and see if the regression tests work...

christos