polarssl: add from /packages, update to 1.2.4, fix openssl compatibility
[openwrt/openwrt.git] / package / libs / polarssl / patches / 200-reduce_config.patch
1 --- a/include/polarssl/config.h
2 +++ b/include/polarssl/config.h
3 @@ -166,8 +166,8 @@
4 * Requires: POLARSSL_BIGNUM_C, POLARSSL_RSA_C
5 *
6 * Enable the RSA prime-number generation code.
7 - */
8 #define POLARSSL_GENPRIME
9 + */
10
11 /**
12 * \def POLARSSL_FS_IO
13 @@ -224,8 +224,8 @@
14 * \def POLARSSL_SELF_TEST
15 *
16 * Enable the checkup functions (*_self_test).
17 - */
18 #define POLARSSL_SELF_TEST
19 + */
20
21 /**
22 * \def POLARSSL_SSL_HW_RECORD_ACCEL
23 @@ -384,8 +384,8 @@
24 * TLS_RSA_WITH_CAMELLIA_256_CBC_SHA256
25 * TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256
26 * TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256
27 - */
28 #define POLARSSL_CAMELLIA_C
29 + */
30
31 /**
32 * \def POLARSSL_CERTS_C
33 @@ -396,8 +396,8 @@
34 * Caller:
35 *
36 * This module is used for testing (ssl_client/server).
37 - */
38 #define POLARSSL_CERTS_C
39 + */
40
41 /**
42 * \def POLARSSL_CIPHER_C
43 @@ -436,8 +436,8 @@
44 * library/ssl_tls.c
45 *
46 * This module provides debugging functions.
47 - */
48 #define POLARSSL_DEBUG_C
49 + */
50
51 /**
52 * \def POLARSSL_DES_C
53 @@ -519,8 +519,8 @@
54 * enabled as well):
55 * TLS_RSA_WITH_AES_128_GCM_SHA256
56 * TLS_RSA_WITH_AES_256_GCM_SHA384
57 - */
58 #define POLARSSL_GCM_C
59 + */
60
61 /**
62 * \def POLARSSL_HAVEGE_C
63 @@ -533,8 +533,8 @@
64 * Requires: POLARSSL_TIMING_C
65 *
66 * This module enables the HAVEGE random number generator.
67 - */
68 #define POLARSSL_HAVEGE_C
69 + */
70
71 /**
72 * \def POLARSSL_MD_C
73 @@ -608,8 +608,8 @@
74 * Caller: library/aes.c
75 *
76 * This modules adds support for the VIA PadLock on x86.
77 - */
78 #define POLARSSL_PADLOCK_C
79 + */
80
81 /**
82 * \def POLARSSL_PBKDF2_C
83 @@ -722,8 +722,8 @@
84 * Caller:
85 *
86 * Requires: POLARSSL_SSL_CACHE_C
87 - */
88 #define POLARSSL_SSL_CACHE_C
89 + */
90
91 /**
92 * \def POLARSSL_SSL_CLI_C
93 @@ -777,8 +777,8 @@
94 * Caller: library/havege.c
95 *
96 * This module is used by the HAVEGE random number generator.
97 - */
98 #define POLARSSL_TIMING_C
99 + */
100
101 /**
102 * \def POLARSSL_VERSION_C
103 @@ -827,8 +827,8 @@
104 *
105 * Module: library/xtea.c
106 * Caller:
107 - */
108 #define POLARSSL_XTEA_C
109 + */
110 /* \} name */
111
112 #endif /* config.h */