svn commit: r209890 - head/secure/lib/libcrypto

Nathan Whitehorn nwhitehorn at FreeBSD.org
Sat Jul 10 22:07:49 UTC 2010


Author: nwhitehorn
Date: Sat Jul 10 22:07:48 2010
New Revision: 209890
URL: http://svn.freebsd.org/changeset/base/209890

Log:
  OpenSSL configuration for powerpc64
  
  Obtained from:	projects/ppc64

Added:
  head/secure/lib/libcrypto/opensslconf-powerpc64.h
     - copied, changed from r209845, head/secure/lib/libcrypto/opensslconf-powerpc.h

Copied and modified: head/secure/lib/libcrypto/opensslconf-powerpc64.h (from r209845, head/secure/lib/libcrypto/opensslconf-powerpc.h)
==============================================================================
--- head/secure/lib/libcrypto/opensslconf-powerpc.h	Fri Jul  9 11:27:33 2010	(r209845, copy source)
+++ head/secure/lib/libcrypto/opensslconf-powerpc64.h	Sat Jul 10 22:07:48 2010	(r209890)
@@ -110,13 +110,13 @@
 /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a
  * %20 speed up (longs are 8 bytes, int's are 4). */
 #ifndef DES_LONG
-#define DES_LONG unsigned long
+#define DES_LONG unsigned int
 #endif
 #endif
 
 #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H)
 #define CONFIG_HEADER_BN_H
-#define BN_LLONG
+#undef BN_LLONG
 
 /* Should we define BN_DIV2W here? */
 
@@ -124,9 +124,9 @@
 /* The prime number generation stuff may not work when
  * EIGHT_BIT but I don't care since I've only used this mode
  * for debuging the bignum libraries */
-#undef SIXTY_FOUR_BIT_LONG
+#define SIXTY_FOUR_BIT_LONG
 #undef SIXTY_FOUR_BIT
-#define THIRTY_TWO_BIT
+#undef THIRTY_TWO_BIT
 #undef SIXTEEN_BIT
 #undef EIGHT_BIT
 #endif


More information about the svn-src-head mailing list