Ticket #15033: patch-opensslconf.h-32.diff
File patch-opensslconf.h-32.diff, 1.4 KB (added by jmroot (Joshua Root), 16 years ago) |
---|
-
include/openssl/opensslconf.h
old new 134 134 /* If this is set to 'unsigned int' on a DEC Alpha, this gives about a 135 135 * %20 speed up (longs are 8 bytes, int's are 4). */ 136 136 #ifndef DES_LONG 137 #if defined(__x86_64__) 138 #define DES_LONG unsigned int 139 #else 137 140 #define DES_LONG unsigned long 138 141 #endif 139 142 #endif 143 #endif 140 144 141 145 #if defined(HEADER_BN_H) && !defined(CONFIG_HEADER_BN_H) 142 146 #define CONFIG_HEADER_BN_H 147 #if defined(__ppc64__) || defined(__x86_64__) 148 #undef BN_LLONG 149 #else 143 150 #define BN_LLONG 151 #endif 144 152 145 153 /* Should we define BN_DIV2W here? */ 146 154 … … 148 156 /* The prime number generation stuff may not work when 149 157 * EIGHT_BIT but I don't care since I've only used this mode 150 158 * for debuging the bignum libraries */ 159 #if defined(__ppc64__) || defined(__x86_64__) 160 #define SIXTY_FOUR_BIT_LONG 161 #else 151 162 #undef SIXTY_FOUR_BIT_LONG 163 #endif 152 164 #undef SIXTY_FOUR_BIT 165 #if defined(__ppc64__) || defined(__x86_64__) 166 #undef THIRTY_TWO_BIT 167 #else 153 168 #define THIRTY_TWO_BIT 169 #endif 154 170 #undef SIXTEEN_BIT 155 171 #undef EIGHT_BIT 156 172 #endif … … 164 180 165 181 #if defined(HEADER_BF_LOCL_H) && !defined(CONFIG_HEADER_BF_LOCL_H) 166 182 #define CONFIG_HEADER_BF_LOCL_H 183 #if defined(__x86_64__) 184 #define BF_PTR2 185 #else 167 186 #define BF_PTR 187 #endif 168 188 #endif /* HEADER_BF_LOCL_H */ 169 189 170 190 #if defined(HEADER_DES_LOCL_H) && !defined(CONFIG_HEADER_DES_LOCL_H)