| 1 |
diff -Naur polarssl-1.1.4/include/polarssl/config.h polarssl-x86_64/include/polarssl/config.h |
| 2 |
--- polarssl-1.1.4/include/polarssl/config.h 2011-12-22 05:06:27.000000000 -0500 |
| 3 |
+++ polarssl-x86_64/include/polarssl/config.h 2012-10-30 17:18:07.567001000 -0400 |
| 4 |
@@ -164,8 +164,8 @@ |
| 5 |
* application. |
| 6 |
* |
| 7 |
* Uncomment this macro to prevent loading of default entropy functions. |
| 8 |
-#define POLARSSL_NO_DEFAULT_ENTROPY_SOURCES |
| 9 |
*/ |
| 10 |
+#define POLARSSL_NO_DEFAULT_ENTROPY_SOURCES |
| 11 |
|
| 12 |
/** |
| 13 |
* \def POLARSSL_NO_PLATFORM_ENTROPY |
| 14 |
@@ -175,8 +175,8 @@ |
| 15 |
* standards like the /dev/urandom or Windows CryptoAPI. |
| 16 |
* |
| 17 |
* Uncomment this macro to disable the built-in platform entropy functions. |
| 18 |
-#define POLARSSL_NO_PLATFORM_ENTROPY |
| 19 |
*/ |
| 20 |
+#define POLARSSL_NO_PLATFORM_ENTROPY |
| 21 |
|
| 22 |
/** |
| 23 |
* \def POLARSSL_PKCS1_V21 |
| 24 |
@@ -426,8 +426,8 @@ |
| 25 |
* Requires: POLARSSL_TIMING_C |
| 26 |
* |
| 27 |
* This module enables the HAVEGE random number generator. |
| 28 |
- */ |
| 29 |
#define POLARSSL_HAVEGE_C |
| 30 |
+ */ |
| 31 |
|
| 32 |
/** |
| 33 |
* \def POLARSSL_MD_C |
| 34 |
@@ -490,7 +490,7 @@ |
| 35 |
* |
| 36 |
* This module provides TCP/IP networking routines. |
| 37 |
*/ |
| 38 |
-#define POLARSSL_NET_C |
| 39 |
+//#define POLARSSL_NET_C |
| 40 |
|
| 41 |
/** |
| 42 |
* \def POLARSSL_PADLOCK_C |
| 43 |
@@ -644,8 +644,8 @@ |
| 44 |
* Caller: library/havege.c |
| 45 |
* |
| 46 |
* This module is used by the HAVEGE random number generator. |
| 47 |
- */ |
| 48 |
#define POLARSSL_TIMING_C |
| 49 |
+ */ |
| 50 |
|
| 51 |
/** |
| 52 |
* \def POLARSSL_VERSION_C |
| 53 |
diff -Naur polarssl-1.1.4/library/bignum.c polarssl-x86_64/library/bignum.c |
| 54 |
--- polarssl-1.1.4/library/bignum.c 2012-04-29 16:15:55.000000000 -0400 |
| 55 |
+++ polarssl-x86_64/library/bignum.c 2012-10-30 17:21:52.135000999 -0400 |
| 56 |
@@ -1101,7 +1101,7 @@ |
| 57 |
Z.p[i - t - 1] = ~0; |
| 58 |
else |
| 59 |
{ |
| 60 |
-#if defined(POLARSSL_HAVE_LONGLONG) |
| 61 |
+#if 0 //defined(POLARSSL_HAVE_LONGLONG) |
| 62 |
t_udbl r; |
| 63 |
|
| 64 |
r = (t_udbl) X.p[i] << biL; |