dc95faada56ac76a863653c96ab6389a53f9e145
[openwrt/svn-archive/archive.git] / package / libs / polarssl / patches / 200-reduce_config.patch
1 --- a/include/polarssl/config.h
2 +++ b/include/polarssl/config.h
3 @@ -395,8 +395,8 @@
4 * TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256
5 * TLS_PSK_WITH_3DES_EDE_CBC_SHA
6 * TLS_PSK_WITH_RC4_128_SHA
7 - */
8 #define POLARSSL_KEY_EXCHANGE_PSK_ENABLED
9 + */
10
11 /**
12 * \def POLARSSL_KEY_EXCHANGE_DHE_PSK_ENABLED
13 @@ -419,8 +419,8 @@
14 * TLS_DHE_PSK_WITH_CAMELLIA_128_CBC_SHA256
15 * TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA
16 * TLS_DHE_PSK_WITH_RC4_128_SHA
17 - */
18 #define POLARSSL_KEY_EXCHANGE_DHE_PSK_ENABLED
19 + */
20
21 /**
22 * \def POLARSSL_KEY_EXCHANGE_ECDHE_PSK_ENABLED
23 @@ -439,8 +439,8 @@
24 * TLS_ECDHE_PSK_WITH_CAMELLIA_128_CBC_SHA256
25 * TLS_ECDHE_PSK_WITH_3DES_EDE_CBC_SHA
26 * TLS_ECDHE_PSK_WITH_RC4_128_SHA
27 - */
28 #define POLARSSL_KEY_EXCHANGE_ECDHE_PSK_ENABLED
29 + */
30
31 /**
32 * \def POLARSSL_KEY_EXCHANGE_RSA_PSK_ENABLED
33 @@ -464,8 +464,8 @@
34 * TLS_RSA_PSK_WITH_CAMELLIA_128_CBC_SHA256
35 * TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA
36 * TLS_RSA_PSK_WITH_RC4_128_SHA
37 - */
38 #define POLARSSL_KEY_EXCHANGE_RSA_PSK_ENABLED
39 + */
40
41 /**
42 * \def POLARSSL_KEY_EXCHANGE_RSA_ENABLED
43 @@ -543,8 +543,8 @@
44 * TLS_ECDHE_RSA_WITH_CAMELLIA_128_CBC_SHA256
45 * TLS_ECDHE_RSA_WITH_3DES_EDE_CBC_SHA
46 * TLS_ECDHE_RSA_WITH_RC4_128_SHA
47 - */
48 #define POLARSSL_KEY_EXCHANGE_ECDHE_RSA_ENABLED
49 + */
50
51 /**
52 * \def POLARSSL_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
53 @@ -567,8 +567,8 @@
54 * TLS_ECDHE_ECDSA_WITH_CAMELLIA_128_CBC_SHA256
55 * TLS_ECDHE_ECDSA_WITH_3DES_EDE_CBC_SHA
56 * TLS_ECDHE_ECDSA_WITH_RC4_128_SHA
57 - */
58 #define POLARSSL_KEY_EXCHANGE_ECDHE_ECDSA_ENABLED
59 + */
60
61 /**
62 * \def POLARSSL_KEY_EXCHANGE_ECDH_ECDSA_ENABLED
63 @@ -591,8 +591,8 @@
64 * TLS_ECDH_ECDSA_WITH_CAMELLIA_256_CBC_SHA384
65 * TLS_ECDH_ECDSA_WITH_CAMELLIA_128_GCM_SHA256
66 * TLS_ECDH_ECDSA_WITH_CAMELLIA_256_GCM_SHA384
67 - */
68 #define POLARSSL_KEY_EXCHANGE_ECDH_ECDSA_ENABLED
69 + */
70
71 /**
72 * \def POLARSSL_KEY_EXCHANGE_ECDH_RSA_ENABLED
73 @@ -615,8 +615,8 @@
74 * TLS_ECDH_RSA_WITH_CAMELLIA_256_CBC_SHA384
75 * TLS_ECDH_RSA_WITH_CAMELLIA_128_GCM_SHA256
76 * TLS_ECDH_RSA_WITH_CAMELLIA_256_GCM_SHA384
77 - */
78 #define POLARSSL_KEY_EXCHANGE_ECDH_RSA_ENABLED
79 + */
80
81 /**
82 * \def POLARSSL_PK_PARSE_EC_EXTENDED
83 @@ -778,8 +778,8 @@
84 * \def POLARSSL_SELF_TEST
85 *
86 * Enable the checkup functions (*_self_test).
87 - */
88 #define POLARSSL_SELF_TEST
89 + */
90
91 /**
92 * \def POLARSSL_SSL_ALL_ALERT_MESSAGES
93 @@ -1302,8 +1302,8 @@
94 * TLS_PSK_WITH_CAMELLIA_256_CBC_SHA384
95 * TLS_PSK_WITH_CAMELLIA_128_GCM_SHA256
96 * TLS_PSK_WITH_CAMELLIA_128_CBC_SHA256
97 - */
98 #define POLARSSL_CAMELLIA_C
99 + */
100
101 /**
102 * \def POLARSSL_CCM_C
103 @@ -1330,8 +1330,8 @@
104 * Requires: POLARSSL_PEM_PARSE_C
105 *
106 * This module is used for testing (ssl_client/server).
107 - */
108 #define POLARSSL_CERTS_C
109 + */
110
111 /**
112 * \def POLARSSL_CIPHER_C
113 @@ -1370,8 +1370,8 @@
114 * library/ssl_tls.c
115 *
116 * This module provides debugging functions.
117 - */
118 #define POLARSSL_DEBUG_C
119 + */
120
121 /**
122 * \def POLARSSL_DES_C
123 @@ -1426,8 +1426,8 @@
124 * ECDHE-ECDSA, ECDHE-RSA, DHE-PSK
125 *
126 * Requires: POLARSSL_ECP_C
127 - */
128 #define POLARSSL_ECDH_C
129 + */
130
131 /**
132 * \def POLARSSL_ECDSA_C
133 @@ -1441,8 +1441,8 @@
134 * ECDHE-ECDSA
135 *
136 * Requires: POLARSSL_ECP_C, POLARSSL_ASN1_WRITE_C, POLARSSL_ASN1_PARSE_C
137 - */
138 #define POLARSSL_ECDSA_C
139 + */
140
141 /**
142 * \def POLARSSL_ECP_C
143 @@ -1454,8 +1454,8 @@
144 * library/ecdsa.c
145 *
146 * Requires: POLARSSL_BIGNUM_C and at least one POLARSSL_ECP_DP_XXX_ENABLED
147 - */
148 #define POLARSSL_ECP_C
149 + */
150
151 /**
152 * \def POLARSSL_ENTROPY_C
153 @@ -1494,8 +1494,8 @@
154 *
155 * This module enables the AES-GCM and CAMELLIA-GCM ciphersuites, if other
156 * requisites are enabled as well.
157 - */
158 #define POLARSSL_GCM_C
159 + */
160
161 /**
162 * \def POLARSSL_HAVEGE_C
163 @@ -1652,8 +1652,8 @@
164 * Requires: POLARSSL_HAVE_ASM
165 *
166 * This modules adds support for the VIA PadLock on x86.
167 - */
168 #define POLARSSL_PADLOCK_C
169 + */
170
171 /**
172 * \def POLARSSL_PBKDF2_C
173 @@ -1813,8 +1813,8 @@
174 * Module: library/ripemd160.c
175 * Caller: library/md.c
176 *
177 - */
178 #define POLARSSL_RIPEMD160_C
179 + */
180
181 /**
182 * \def POLARSSL_RSA_C
183 @@ -1893,8 +1893,8 @@
184 * Caller:
185 *
186 * Requires: POLARSSL_SSL_CACHE_C
187 - */
188 #define POLARSSL_SSL_CACHE_C
189 + */
190
191 /**
192 * \def POLARSSL_SSL_CLI_C
193 @@ -1970,8 +1970,8 @@
194 * Caller: library/havege.c
195 *
196 * This module is used by the HAVEGE random number generator.
197 - */
198 #define POLARSSL_TIMING_C
199 + */
200
201 /**
202 * \def POLARSSL_VERSION_C
203 @@ -2091,8 +2091,8 @@
204 *
205 * Module: library/xtea.c
206 * Caller:
207 - */
208 #define POLARSSL_XTEA_C
209 + */
210
211 /* \} name SECTION: PolarSSL modules */
212