diff options
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | po/POTFILES.in | 95 | ||||
-rw-r--r-- | src/include/gnunet_crypto_lib.h | 16 | ||||
-rw-r--r-- | src/util/crypto_rsa.c | 16 | ||||
-rw-r--r-- | src/util/getopt_helpers.c | 34 |
5 files changed, 100 insertions, 65 deletions
diff --git a/configure.ac b/configure.ac index 30edf6285..b1105c1af 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1242,7 +1242,7 @@ AC_ARG_ENABLE([malicious], | |||
1242 | [malicious=0 | 1242 | [malicious=0 |
1243 | enable_malicious=no]) | 1243 | enable_malicious=no]) |
1244 | AC_MSG_RESULT($enable_malicious) | 1244 | AC_MSG_RESULT($enable_malicious) |
1245 | AM_CONDITIONAL([ENABLE_MALICIOUS], [1=$malicious]) | 1245 | AM_CONDITIONAL([ENABLE_MALICIOUS], [test 1=$malicious]) |
1246 | AC_DEFINE_UNQUOTED([ENABLE_MALICIOUS], [$malicious], | 1246 | AC_DEFINE_UNQUOTED([ENABLE_MALICIOUS], [$malicious], |
1247 | [enable compilation of malicious code]) | 1247 | [enable compilation of malicious code]) |
1248 | 1248 | ||
@@ -1639,7 +1639,7 @@ then | |||
1639 | fi | 1639 | fi |
1640 | 1640 | ||
1641 | # conversation | 1641 | # conversation |
1642 | if test "x$conversation_backend" == "xnone" | 1642 | if test "x$conversation_backend" = "xnone" |
1643 | then | 1643 | then |
1644 | if test "x$pulse" != "x1" | 1644 | if test "x$pulse" != "x1" |
1645 | then | 1645 | then |
diff --git a/po/POTFILES.in b/po/POTFILES.in index 561b834a5..a5d340942 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in | |||
@@ -3,13 +3,21 @@ src/arm/arm_monitor_api.c | |||
3 | src/arm/gnunet-arm.c | 3 | src/arm/gnunet-arm.c |
4 | src/arm/gnunet-service-arm.c | 4 | src/arm/gnunet-service-arm.c |
5 | src/arm/mockup-service.c | 5 | src/arm/mockup-service.c |
6 | src/ats-tests/ats-testing-experiment.c | ||
7 | src/ats-tests/ats-testing-log.c | ||
8 | src/ats-tests/ats-testing-preferences.c | ||
9 | src/ats-tests/ats-testing-traffic.c | ||
10 | src/ats-tests/ats-testing.c | ||
11 | src/ats-tests/gnunet-ats-sim.c | ||
12 | src/ats-tests/gnunet-solver-eval.c | ||
13 | src/ats-tool/gnunet-ats.c | ||
6 | src/ats/ats_api_connectivity.c | 14 | src/ats/ats_api_connectivity.c |
7 | src/ats/ats_api_performance.c | 15 | src/ats/ats_api_performance.c |
8 | src/ats/ats_api_scanner.c | 16 | src/ats/ats_api_scanner.c |
9 | src/ats/ats_api_scheduling.c | 17 | src/ats/ats_api_scheduling.c |
10 | src/ats/gnunet-ats-solver-eval.c | 18 | src/ats/gnunet-ats-solver-eval.c |
11 | src/ats/gnunet-service-ats_addresses.c | ||
12 | src/ats/gnunet-service-ats.c | 19 | src/ats/gnunet-service-ats.c |
20 | src/ats/gnunet-service-ats_addresses.c | ||
13 | src/ats/gnunet-service-ats_connectivity.c | 21 | src/ats/gnunet-service-ats_connectivity.c |
14 | src/ats/gnunet-service-ats_feedback.c | 22 | src/ats/gnunet-service-ats_feedback.c |
15 | src/ats/gnunet-service-ats_normalization.c | 23 | src/ats/gnunet-service-ats_normalization.c |
@@ -21,14 +29,6 @@ src/ats/gnunet-service-ats_scheduling.c | |||
21 | src/ats/plugin_ats_mlp.c | 29 | src/ats/plugin_ats_mlp.c |
22 | src/ats/plugin_ats_proportional.c | 30 | src/ats/plugin_ats_proportional.c |
23 | src/ats/plugin_ats_ril.c | 31 | src/ats/plugin_ats_ril.c |
24 | src/ats-tests/ats-testing.c | ||
25 | src/ats-tests/ats-testing-experiment.c | ||
26 | src/ats-tests/ats-testing-log.c | ||
27 | src/ats-tests/ats-testing-preferences.c | ||
28 | src/ats-tests/ats-testing-traffic.c | ||
29 | src/ats-tests/gnunet-ats-sim.c | ||
30 | src/ats-tests/gnunet-solver-eval.c | ||
31 | src/ats-tool/gnunet-ats.c | ||
32 | src/block/block.c | 32 | src/block/block.c |
33 | src/block/plugin_block_template.c | 33 | src/block/plugin_block_template.c |
34 | src/block/plugin_block_test.c | 34 | src/block/plugin_block_test.c |
@@ -37,8 +37,8 @@ src/cadet/cadet_common.c | |||
37 | src/cadet/cadet_path.c | 37 | src/cadet/cadet_path.c |
38 | src/cadet/cadet_test_lib.c | 38 | src/cadet/cadet_test_lib.c |
39 | src/cadet/cadet_tunnel_tree.c | 39 | src/cadet/cadet_tunnel_tree.c |
40 | src/cadet/gnunet-cadet.c | ||
41 | src/cadet/gnunet-cadet-profiler.c | 40 | src/cadet/gnunet-cadet-profiler.c |
41 | src/cadet/gnunet-cadet.c | ||
42 | src/cadet/gnunet-service-cadet.c | 42 | src/cadet/gnunet-service-cadet.c |
43 | src/cadet/gnunet-service-cadet_channel.c | 43 | src/cadet/gnunet-service-cadet_channel.c |
44 | src/cadet/gnunet-service-cadet_connection.c | 44 | src/cadet/gnunet-service-cadet_connection.c |
@@ -52,12 +52,12 @@ src/consensus/gnunet-consensus-profiler.c | |||
52 | src/consensus/gnunet-service-consensus.c | 52 | src/consensus/gnunet-service-consensus.c |
53 | src/conversation/conversation_api.c | 53 | src/conversation/conversation_api.c |
54 | src/conversation/conversation_api_call.c | 54 | src/conversation/conversation_api_call.c |
55 | src/conversation/gnunet-conversation.c | ||
56 | src/conversation/gnunet-conversation-test.c | 55 | src/conversation/gnunet-conversation-test.c |
57 | src/conversation/gnunet-helper-audio-playback.c | 56 | src/conversation/gnunet-conversation.c |
58 | src/conversation/gnunet-helper-audio-playback-gst.c | 57 | src/conversation/gnunet-helper-audio-playback-gst.c |
59 | src/conversation/gnunet-helper-audio-record.c | 58 | src/conversation/gnunet-helper-audio-playback.c |
60 | src/conversation/gnunet-helper-audio-record-gst.c | 59 | src/conversation/gnunet-helper-audio-record-gst.c |
60 | src/conversation/gnunet-helper-audio-record.c | ||
61 | src/conversation/gnunet-service-conversation.c | 61 | src/conversation/gnunet-service-conversation.c |
62 | src/conversation/microphone.c | 62 | src/conversation/microphone.c |
63 | src/conversation/plugin_gnsrecord_conversation.c | 63 | src/conversation/plugin_gnsrecord_conversation.c |
@@ -89,7 +89,6 @@ src/dht/dht_api.c | |||
89 | src/dht/dht_test_lib.c | 89 | src/dht/dht_test_lib.c |
90 | src/dht/gnunet-dht-get.c | 90 | src/dht/gnunet-dht-get.c |
91 | src/dht/gnunet-dht-monitor.c | 91 | src/dht/gnunet-dht-monitor.c |
92 | src/dht/gnunet_dht_profiler.c | ||
93 | src/dht/gnunet-dht-put.c | 92 | src/dht/gnunet-dht-put.c |
94 | src/dht/gnunet-service-dht.c | 93 | src/dht/gnunet-service-dht.c |
95 | src/dht/gnunet-service-dht_clients.c | 94 | src/dht/gnunet-service-dht_clients.c |
@@ -105,6 +104,7 @@ src/dht/gnunet-service-xdht_hello.c | |||
105 | src/dht/gnunet-service-xdht_neighbours.c | 104 | src/dht/gnunet-service-xdht_neighbours.c |
106 | src/dht/gnunet-service-xdht_nse.c | 105 | src/dht/gnunet-service-xdht_nse.c |
107 | src/dht/gnunet-service-xdht_routing.c | 106 | src/dht/gnunet-service-xdht_routing.c |
107 | src/dht/gnunet_dht_profiler.c | ||
108 | src/dht/plugin_block_dht.c | 108 | src/dht/plugin_block_dht.c |
109 | src/dns/dns_api.c | 109 | src/dns/dns_api.c |
110 | src/dns/dnsparser.c | 110 | src/dns/dnsparser.c |
@@ -120,8 +120,8 @@ src/dv/gnunet-service-dv.c | |||
120 | src/dv/plugin_transport_dv.c | 120 | src/dv/plugin_transport_dv.c |
121 | src/env/env.c | 121 | src/env/env.c |
122 | src/exit/gnunet-daemon-exit.c | 122 | src/exit/gnunet-daemon-exit.c |
123 | src/exit/gnunet-helper-exit.c | ||
124 | src/exit/gnunet-helper-exit-windows.c | 123 | src/exit/gnunet-helper-exit-windows.c |
124 | src/exit/gnunet-helper-exit.c | ||
125 | src/fragmentation/defragmentation.c | 125 | src/fragmentation/defragmentation.c |
126 | src/fragmentation/fragmentation.c | 126 | src/fragmentation/fragmentation.c |
127 | src/fs/fs_api.c | 127 | src/fs/fs_api.c |
@@ -146,8 +146,8 @@ src/fs/gnunet-auto-share.c | |||
146 | src/fs/gnunet-daemon-fsprofiler.c | 146 | src/fs/gnunet-daemon-fsprofiler.c |
147 | src/fs/gnunet-directory.c | 147 | src/fs/gnunet-directory.c |
148 | src/fs/gnunet-download.c | 148 | src/fs/gnunet-download.c |
149 | src/fs/gnunet-fs.c | ||
150 | src/fs/gnunet-fs-profiler.c | 149 | src/fs/gnunet-fs-profiler.c |
150 | src/fs/gnunet-fs.c | ||
151 | src/fs/gnunet-helper-fs-publish.c | 151 | src/fs/gnunet-helper-fs-publish.c |
152 | src/fs/gnunet-publish.c | 152 | src/fs/gnunet-publish.c |
153 | src/fs/gnunet-search.c | 153 | src/fs/gnunet-search.c |
@@ -166,10 +166,10 @@ src/fs/plugin_block_fs.c | |||
166 | src/gns/gns_api.c | 166 | src/gns/gns_api.c |
167 | src/gns/gnunet-bcd.c | 167 | src/gns/gnunet-bcd.c |
168 | src/gns/gnunet-dns2gns.c | 168 | src/gns/gnunet-dns2gns.c |
169 | src/gns/gnunet-gns.c | ||
170 | src/gns/gnunet-gns-helper-service-w32.c | 169 | src/gns/gnunet-gns-helper-service-w32.c |
171 | src/gns/gnunet-gns-import.c | 170 | src/gns/gnunet-gns-import.c |
172 | src/gns/gnunet-gns-proxy.c | 171 | src/gns/gnunet-gns-proxy.c |
172 | src/gns/gnunet-gns.c | ||
173 | src/gns/gnunet-service-gns.c | 173 | src/gns/gnunet-service-gns.c |
174 | src/gns/gnunet-service-gns_interceptor.c | 174 | src/gns/gnunet-service-gns_interceptor.c |
175 | src/gns/gnunet-service-gns_resolver.c | 175 | src/gns/gnunet-service-gns_resolver.c |
@@ -179,15 +179,15 @@ src/gns/nss/nss_gns_query.c | |||
179 | src/gns/plugin_block_gns.c | 179 | src/gns/plugin_block_gns.c |
180 | src/gns/plugin_gnsrecord_gns.c | 180 | src/gns/plugin_gnsrecord_gns.c |
181 | src/gns/plugin_rest_gns.c | 181 | src/gns/plugin_rest_gns.c |
182 | src/gns/w32nsp-install.c | ||
183 | src/gns/w32nsp-resolve.c | ||
184 | src/gns/w32nsp-uninstall.c | ||
185 | src/gns/w32nsp.c | ||
182 | src/gnsrecord/gnsrecord.c | 186 | src/gnsrecord/gnsrecord.c |
183 | src/gnsrecord/gnsrecord_crypto.c | 187 | src/gnsrecord/gnsrecord_crypto.c |
184 | src/gnsrecord/gnsrecord_misc.c | 188 | src/gnsrecord/gnsrecord_misc.c |
185 | src/gnsrecord/gnsrecord_serialization.c | 189 | src/gnsrecord/gnsrecord_serialization.c |
186 | src/gnsrecord/plugin_gnsrecord_dns.c | 190 | src/gnsrecord/plugin_gnsrecord_dns.c |
187 | src/gns/w32nsp.c | ||
188 | src/gns/w32nsp-install.c | ||
189 | src/gns/w32nsp-resolve.c | ||
190 | src/gns/w32nsp-uninstall.c | ||
191 | src/hello/address.c | 191 | src/hello/address.c |
192 | src/hello/gnunet-hello.c | 192 | src/hello/gnunet-hello.c |
193 | src/hello/hello.c | 193 | src/hello/hello.c |
@@ -208,31 +208,31 @@ src/namecache/gnunet-service-namecache.c | |||
208 | src/namecache/namecache_api.c | 208 | src/namecache/namecache_api.c |
209 | src/namecache/plugin_namecache_postgres.c | 209 | src/namecache/plugin_namecache_postgres.c |
210 | src/namecache/plugin_namecache_sqlite.c | 210 | src/namecache/plugin_namecache_sqlite.c |
211 | src/namestore/gnunet-namestore.c | ||
212 | src/namestore/gnunet-namestore-fcfsd.c | 211 | src/namestore/gnunet-namestore-fcfsd.c |
212 | src/namestore/gnunet-namestore.c | ||
213 | src/namestore/gnunet-service-namestore.c | 213 | src/namestore/gnunet-service-namestore.c |
214 | src/namestore/namestore_api.c | 214 | src/namestore/namestore_api.c |
215 | src/namestore/namestore_api_monitor.c | 215 | src/namestore/namestore_api_monitor.c |
216 | src/namestore/plugin_namestore_postgres.c | 216 | src/namestore/plugin_namestore_postgres.c |
217 | src/namestore/plugin_namestore_sqlite.c | 217 | src/namestore/plugin_namestore_sqlite.c |
218 | src/nat/gnunet-helper-nat-client.c | ||
219 | src/nat/gnunet-helper-nat-client-windows.c | 218 | src/nat/gnunet-helper-nat-client-windows.c |
220 | src/nat/gnunet-helper-nat-server.c | 219 | src/nat/gnunet-helper-nat-client.c |
221 | src/nat/gnunet-helper-nat-server-windows.c | 220 | src/nat/gnunet-helper-nat-server-windows.c |
221 | src/nat/gnunet-helper-nat-server.c | ||
222 | src/nat/gnunet-nat-server.c | 222 | src/nat/gnunet-nat-server.c |
223 | src/nat/nat_auto.c | ||
224 | src/nat/nat.c | 223 | src/nat/nat.c |
224 | src/nat/nat_auto.c | ||
225 | src/nat/nat_mini.c | 225 | src/nat/nat_mini.c |
226 | src/nat/nat_test.c | 226 | src/nat/nat_test.c |
227 | src/nse/gnunet-nse.c | ||
228 | src/nse/gnunet-nse-profiler.c | 227 | src/nse/gnunet-nse-profiler.c |
228 | src/nse/gnunet-nse.c | ||
229 | src/nse/gnunet-service-nse.c | 229 | src/nse/gnunet-service-nse.c |
230 | src/nse/nse_api.c | 230 | src/nse/nse_api.c |
231 | src/peerinfo-tool/gnunet-peerinfo.c | ||
232 | src/peerinfo-tool/gnunet-peerinfo_plugins.c | ||
231 | src/peerinfo/gnunet-service-peerinfo.c | 233 | src/peerinfo/gnunet-service-peerinfo.c |
232 | src/peerinfo/peerinfo_api.c | 234 | src/peerinfo/peerinfo_api.c |
233 | src/peerinfo/peerinfo_api_notify.c | 235 | src/peerinfo/peerinfo_api_notify.c |
234 | src/peerinfo-tool/gnunet-peerinfo.c | ||
235 | src/peerinfo-tool/gnunet-peerinfo_plugins.c | ||
236 | src/peerstore/gnunet-peerstore.c | 236 | src/peerstore/gnunet-peerstore.c |
237 | src/peerstore/gnunet-service-peerstore.c | 237 | src/peerstore/gnunet-service-peerstore.c |
238 | src/peerstore/peerstore_api.c | 238 | src/peerstore/peerstore_api.c |
@@ -260,6 +260,7 @@ src/regex/regex_test_graph.c | |||
260 | src/regex/regex_test_lib.c | 260 | src/regex/regex_test_lib.c |
261 | src/regex/regex_test_random.c | 261 | src/regex/regex_test_random.c |
262 | src/rest/gnunet-rest-server.c | 262 | src/rest/gnunet-rest-server.c |
263 | src/rest/rest.c | ||
263 | src/revocation/gnunet-revocation.c | 264 | src/revocation/gnunet-revocation.c |
264 | src/revocation/gnunet-service-revocation.c | 265 | src/revocation/gnunet-service-revocation.c |
265 | src/revocation/revocation_api.c | 266 | src/revocation/revocation_api.c |
@@ -275,12 +276,10 @@ src/secretsharing/gnunet-secretsharing-profiler.c | |||
275 | src/secretsharing/gnunet-service-secretsharing.c | 276 | src/secretsharing/gnunet-service-secretsharing.c |
276 | src/secretsharing/secretsharing_api.c | 277 | src/secretsharing/secretsharing_api.c |
277 | src/secretsharing/secretsharing_common.c | 278 | src/secretsharing/secretsharing_common.c |
278 | src/sensordashboard/gnunet-sensordashboard.c | ||
279 | src/sensordashboard/gnunet-service-sensordashboard.c | ||
280 | src/sensor/gnunet-sensor.c | ||
281 | src/sensor/gnunet-sensor-profiler.c | 279 | src/sensor/gnunet-sensor-profiler.c |
282 | src/sensor/gnunet-service-sensor_analysis.c | 280 | src/sensor/gnunet-sensor.c |
283 | src/sensor/gnunet-service-sensor.c | 281 | src/sensor/gnunet-service-sensor.c |
282 | src/sensor/gnunet-service-sensor_analysis.c | ||
284 | src/sensor/gnunet-service-sensor_monitoring.c | 283 | src/sensor/gnunet-service-sensor_monitoring.c |
285 | src/sensor/gnunet-service-sensor_reporting.c | 284 | src/sensor/gnunet-service-sensor_reporting.c |
286 | src/sensor/gnunet-service-sensor_update.c | 285 | src/sensor/gnunet-service-sensor_update.c |
@@ -288,6 +287,8 @@ src/sensor/plugin_sensor_model_gaussian.c | |||
288 | src/sensor/sensor_api.c | 287 | src/sensor/sensor_api.c |
289 | src/sensor/sensor_util_lib.c | 288 | src/sensor/sensor_util_lib.c |
290 | src/sensor/sensor_util_lib_crypto.c | 289 | src/sensor/sensor_util_lib_crypto.c |
290 | src/sensordashboard/gnunet-sensordashboard.c | ||
291 | src/sensordashboard/gnunet-service-sensordashboard.c | ||
291 | src/set/gnunet-service-set.c | 292 | src/set/gnunet-service-set.c |
292 | src/set/gnunet-service-set_intersection.c | 293 | src/set/gnunet-service-set_intersection.c |
293 | src/set/gnunet-service-set_union.c | 294 | src/set/gnunet-service-set_union.c |
@@ -308,30 +309,30 @@ src/testbed/gnunet-daemon-latency-logger.c | |||
308 | src/testbed/gnunet-daemon-testbed-blacklist.c | 309 | src/testbed/gnunet-daemon-testbed-blacklist.c |
309 | src/testbed/gnunet-daemon-testbed-underlay.c | 310 | src/testbed/gnunet-daemon-testbed-underlay.c |
310 | src/testbed/gnunet-helper-testbed.c | 311 | src/testbed/gnunet-helper-testbed.c |
311 | src/testbed/gnunet_mpi_test.c | ||
312 | src/testbed/gnunet-service-test-barriers.c | 312 | src/testbed/gnunet-service-test-barriers.c |
313 | src/testbed/gnunet-service-testbed_barriers.c | 313 | src/testbed/gnunet-service-testbed-logger.c |
314 | src/testbed/gnunet-service-testbed.c | 314 | src/testbed/gnunet-service-testbed.c |
315 | src/testbed/gnunet-service-testbed_barriers.c | ||
315 | src/testbed/gnunet-service-testbed_cache.c | 316 | src/testbed/gnunet-service-testbed_cache.c |
316 | src/testbed/gnunet-service-testbed_connectionpool.c | 317 | src/testbed/gnunet-service-testbed_connectionpool.c |
317 | src/testbed/gnunet-service-testbed_cpustatus.c | 318 | src/testbed/gnunet-service-testbed_cpustatus.c |
318 | src/testbed/gnunet-service-testbed_links.c | 319 | src/testbed/gnunet-service-testbed_links.c |
319 | src/testbed/gnunet-service-testbed-logger.c | ||
320 | src/testbed/gnunet-service-testbed_meminfo.c | 320 | src/testbed/gnunet-service-testbed_meminfo.c |
321 | src/testbed/gnunet-service-testbed_oc.c | 321 | src/testbed/gnunet-service-testbed_oc.c |
322 | src/testbed/gnunet-service-testbed_peers.c | 322 | src/testbed/gnunet-service-testbed_peers.c |
323 | src/testbed/gnunet_testbed_mpi_spawn.c | ||
324 | src/testbed/gnunet-testbed-profiler.c | 323 | src/testbed/gnunet-testbed-profiler.c |
325 | src/testbed/testbed_api_barriers.c | 324 | src/testbed/gnunet_mpi_test.c |
325 | src/testbed/gnunet_testbed_mpi_spawn.c | ||
326 | src/testbed/testbed_api.c | 326 | src/testbed/testbed_api.c |
327 | src/testbed/testbed_api_barriers.c | ||
327 | src/testbed/testbed_api_hosts.c | 328 | src/testbed/testbed_api_hosts.c |
328 | src/testbed/testbed_api_operations.c | 329 | src/testbed/testbed_api_operations.c |
329 | src/testbed/testbed_api_peers.c | 330 | src/testbed/testbed_api_peers.c |
330 | src/testbed/testbed_api_sd.c | 331 | src/testbed/testbed_api_sd.c |
331 | src/testbed/testbed_api_services.c | 332 | src/testbed/testbed_api_services.c |
332 | src/testbed/testbed_api_statistics.c | 333 | src/testbed/testbed_api_statistics.c |
333 | src/testbed/testbed_api_testbed.c | ||
334 | src/testbed/testbed_api_test.c | 334 | src/testbed/testbed_api_test.c |
335 | src/testbed/testbed_api_testbed.c | ||
335 | src/testbed/testbed_api_topology.c | 336 | src/testbed/testbed_api_topology.c |
336 | src/testbed/testbed_api_underlay.c | 337 | src/testbed/testbed_api_underlay.c |
337 | src/testbed/testbed_logger_api.c | 338 | src/testbed/testbed_logger_api.c |
@@ -341,39 +342,39 @@ src/testing/testing.c | |||
341 | src/topology/friends.c | 342 | src/topology/friends.c |
342 | src/topology/gnunet-daemon-topology.c | 343 | src/topology/gnunet-daemon-topology.c |
343 | src/transport/gnunet-helper-transport-bluetooth.c | 344 | src/transport/gnunet-helper-transport-bluetooth.c |
344 | src/transport/gnunet-helper-transport-wlan.c | ||
345 | src/transport/gnunet-helper-transport-wlan-dummy.c | 345 | src/transport/gnunet-helper-transport-wlan-dummy.c |
346 | src/transport/gnunet-helper-transport-wlan.c | ||
347 | src/transport/gnunet-service-transport.c | ||
346 | src/transport/gnunet-service-transport_ats.c | 348 | src/transport/gnunet-service-transport_ats.c |
347 | src/transport/gnunet-service-transport_blacklist.c | 349 | src/transport/gnunet-service-transport_blacklist.c |
348 | src/transport/gnunet-service-transport.c | ||
349 | src/transport/gnunet-service-transport_clients.c | 350 | src/transport/gnunet-service-transport_clients.c |
350 | src/transport/gnunet-service-transport_hello.c | 351 | src/transport/gnunet-service-transport_hello.c |
351 | src/transport/gnunet-service-transport_manipulation.c | 352 | src/transport/gnunet-service-transport_manipulation.c |
352 | src/transport/gnunet-service-transport_neighbours.c | 353 | src/transport/gnunet-service-transport_neighbours.c |
353 | src/transport/gnunet-service-transport_plugins.c | 354 | src/transport/gnunet-service-transport_plugins.c |
354 | src/transport/gnunet-service-transport_validation.c | 355 | src/transport/gnunet-service-transport_validation.c |
355 | src/transport/gnunet-transport.c | ||
356 | src/transport/gnunet-transport-certificate-creation.c | 356 | src/transport/gnunet-transport-certificate-creation.c |
357 | src/transport/gnunet-transport-profiler.c | 357 | src/transport/gnunet-transport-profiler.c |
358 | src/transport/gnunet-transport-wlan-receiver.c | 358 | src/transport/gnunet-transport-wlan-receiver.c |
359 | src/transport/gnunet-transport-wlan-sender.c | 359 | src/transport/gnunet-transport-wlan-sender.c |
360 | src/transport/gnunet-transport.c | ||
360 | src/transport/plugin_transport_http_client.c | 361 | src/transport/plugin_transport_http_client.c |
361 | src/transport/plugin_transport_http_common.c | 362 | src/transport/plugin_transport_http_common.c |
362 | src/transport/plugin_transport_http_server.c | 363 | src/transport/plugin_transport_http_server.c |
363 | src/transport/plugin_transport_smtp.c | 364 | src/transport/plugin_transport_smtp.c |
364 | src/transport/plugin_transport_tcp.c | 365 | src/transport/plugin_transport_tcp.c |
365 | src/transport/plugin_transport_template.c | 366 | src/transport/plugin_transport_template.c |
366 | src/transport/plugin_transport_udp_broadcasting.c | ||
367 | src/transport/plugin_transport_udp.c | 367 | src/transport/plugin_transport_udp.c |
368 | src/transport/plugin_transport_udp_broadcasting.c | ||
368 | src/transport/plugin_transport_unix.c | 369 | src/transport/plugin_transport_unix.c |
369 | src/transport/plugin_transport_wlan.c | 370 | src/transport/plugin_transport_wlan.c |
371 | src/transport/transport-testing.c | ||
372 | src/transport/transport_api.c | ||
370 | src/transport/transport_api_address_to_string.c | 373 | src/transport/transport_api_address_to_string.c |
371 | src/transport/transport_api_blacklist.c | 374 | src/transport/transport_api_blacklist.c |
372 | src/transport/transport_api.c | ||
373 | src/transport/transport_api_monitor_peers.c | 375 | src/transport/transport_api_monitor_peers.c |
374 | src/transport/transport_api_monitor_plugins.c | 376 | src/transport/transport_api_monitor_plugins.c |
375 | src/transport/transport_api_monitor_validation.c | 377 | src/transport/transport_api_monitor_validation.c |
376 | src/transport/transport-testing.c | ||
377 | src/tun/regex.c | 378 | src/tun/regex.c |
378 | src/tun/tun.c | 379 | src/tun/tun.c |
379 | src/util/bandwidth.c | 380 | src/util/bandwidth.c |
@@ -388,8 +389,8 @@ src/util/connection.c | |||
388 | src/util/container_bloomfilter.c | 389 | src/util/container_bloomfilter.c |
389 | src/util/container_heap.c | 390 | src/util/container_heap.c |
390 | src/util/container_meta_data.c | 391 | src/util/container_meta_data.c |
391 | src/util/container_multihashmap32.c | ||
392 | src/util/container_multihashmap.c | 392 | src/util/container_multihashmap.c |
393 | src/util/container_multihashmap32.c | ||
393 | src/util/container_multipeermap.c | 394 | src/util/container_multipeermap.c |
394 | src/util/crypto_crc.c | 395 | src/util/crypto_crc.c |
395 | src/util/crypto_ecc.c | 396 | src/util/crypto_ecc.c |
@@ -404,8 +405,8 @@ src/util/crypto_symmetric.c | |||
404 | src/util/disk.c | 405 | src/util/disk.c |
405 | src/util/getopt.c | 406 | src/util/getopt.c |
406 | src/util/getopt_helpers.c | 407 | src/util/getopt_helpers.c |
407 | src/util/gnunet-config.c | ||
408 | src/util/gnunet-config-diff.c | 408 | src/util/gnunet-config-diff.c |
409 | src/util/gnunet-config.c | ||
409 | src/util/gnunet-ecc.c | 410 | src/util/gnunet-ecc.c |
410 | src/util/gnunet-helper-w32-console.c | 411 | src/util/gnunet-helper-w32-console.c |
411 | src/util/gnunet-resolver.c | 412 | src/util/gnunet-resolver.c |
@@ -436,8 +437,8 @@ src/util/time.c | |||
436 | src/util/w32cat.c | 437 | src/util/w32cat.c |
437 | src/util/win.c | 438 | src/util/win.c |
438 | src/util/winproc.c | 439 | src/util/winproc.c |
439 | src/vpn/gnunet-helper-vpn.c | ||
440 | src/vpn/gnunet-helper-vpn-windows.c | 440 | src/vpn/gnunet-helper-vpn-windows.c |
441 | src/vpn/gnunet-helper-vpn.c | ||
441 | src/vpn/gnunet-service-vpn.c | 442 | src/vpn/gnunet-service-vpn.c |
442 | src/vpn/gnunet-vpn.c | 443 | src/vpn/gnunet-vpn.c |
443 | src/vpn/vpn_api.c | 444 | src/vpn/vpn_api.c |
diff --git a/src/include/gnunet_crypto_lib.h b/src/include/gnunet_crypto_lib.h index ac50685e2..adc05b8a8 100644 --- a/src/include/gnunet_crypto_lib.h +++ b/src/include/gnunet_crypto_lib.h | |||
@@ -1665,6 +1665,18 @@ GNUNET_CRYPTO_rsa_blinding_key_create (unsigned int len); | |||
1665 | 1665 | ||
1666 | 1666 | ||
1667 | /** | 1667 | /** |
1668 | * Compare the values of two blinding keys. | ||
1669 | * | ||
1670 | * @param b1 one key | ||
1671 | * @param b2 the other key | ||
1672 | * @return 0 if the two are equal | ||
1673 | */ | ||
1674 | int | ||
1675 | GNUNET_CRYPTO_rsa_blinding_key_cmp (struct GNUNET_CRYPTO_rsa_BlindingKey *b1, | ||
1676 | struct GNUNET_CRYPTO_rsa_BlindingKey *b2); | ||
1677 | |||
1678 | |||
1679 | /** | ||
1668 | * Destroy a blinding key | 1680 | * Destroy a blinding key |
1669 | * | 1681 | * |
1670 | * @param bkey the blinding key to destroy | 1682 | * @param bkey the blinding key to destroy |
@@ -1790,8 +1802,8 @@ GNUNET_CRYPTO_rsa_unblind (struct GNUNET_CRYPTO_rsa_Signature *sig, | |||
1790 | */ | 1802 | */ |
1791 | int | 1803 | int |
1792 | GNUNET_CRYPTO_rsa_verify (const struct GNUNET_HashCode *hash, | 1804 | GNUNET_CRYPTO_rsa_verify (const struct GNUNET_HashCode *hash, |
1793 | const struct GNUNET_CRYPTO_rsa_Signature *sig, | 1805 | const struct GNUNET_CRYPTO_rsa_Signature *sig, |
1794 | const struct GNUNET_CRYPTO_rsa_PublicKey *public_key); | 1806 | const struct GNUNET_CRYPTO_rsa_PublicKey *public_key); |
1795 | 1807 | ||
1796 | 1808 | ||
1797 | #if 0 /* keep Emacsens' auto-indent happy */ | 1809 | #if 0 /* keep Emacsens' auto-indent happy */ |
diff --git a/src/util/crypto_rsa.c b/src/util/crypto_rsa.c index 66082fc9d..47aa798e7 100644 --- a/src/util/crypto_rsa.c +++ b/src/util/crypto_rsa.c | |||
@@ -406,6 +406,22 @@ GNUNET_CRYPTO_rsa_blinding_key_create (unsigned int len) | |||
406 | 406 | ||
407 | 407 | ||
408 | /** | 408 | /** |
409 | * Compare the values of two blinding keys. | ||
410 | * | ||
411 | * @param b1 one key | ||
412 | * @param b2 the other key | ||
413 | * @return 0 if the two are equal | ||
414 | */ | ||
415 | int | ||
416 | GNUNET_CRYPTO_rsa_blinding_key_cmp (struct GNUNET_CRYPTO_rsa_BlindingKey *b1, | ||
417 | struct GNUNET_CRYPTO_rsa_BlindingKey *b2) | ||
418 | { | ||
419 | return gcry_mpi_cmp (b1->r, | ||
420 | b2->r); | ||
421 | } | ||
422 | |||
423 | |||
424 | /** | ||
409 | * Destroy a blinding key | 425 | * Destroy a blinding key |
410 | * | 426 | * |
411 | * @param bkey the blinding key to destroy | 427 | * @param bkey the blinding key to destroy |
diff --git a/src/util/getopt_helpers.c b/src/util/getopt_helpers.c index c9eb25f2f..c41f78235 100644 --- a/src/util/getopt_helpers.c +++ b/src/util/getopt_helpers.c | |||
@@ -36,21 +36,26 @@ | |||
36 | * @param scls additional closure (points to version string) | 36 | * @param scls additional closure (points to version string) |
37 | * @param option name of the option | 37 | * @param option name of the option |
38 | * @param value not used (NULL) | 38 | * @param value not used (NULL) |
39 | * @return GNUNET_NO (do not continue, not an error) | 39 | * @return #GNUNET_NO (do not continue, not an error) |
40 | */ | 40 | */ |
41 | int | 41 | int |
42 | GNUNET_GETOPT_print_version_ (struct GNUNET_GETOPT_CommandLineProcessorContext | 42 | GNUNET_GETOPT_print_version_ (struct GNUNET_GETOPT_CommandLineProcessorContext *ctx, |
43 | *ctx, void *scls, const char *option, | 43 | void *scls, |
44 | const char *option, | ||
44 | const char *value) | 45 | const char *value) |
45 | { | 46 | { |
46 | const char *version = scls; | 47 | const char *version = scls; |
47 | 48 | ||
48 | printf ("%s v%s\n", ctx->binaryName, version); | 49 | printf ("%s v%s\n", |
50 | ctx->binaryName, | ||
51 | version); | ||
49 | return GNUNET_NO; | 52 | return GNUNET_NO; |
50 | } | 53 | } |
51 | 54 | ||
52 | 55 | ||
53 | 56 | /** | |
57 | * At what offset does the help text start? | ||
58 | */ | ||
54 | #define BORDER 29 | 59 | #define BORDER 29 |
55 | 60 | ||
56 | /** | 61 | /** |
@@ -60,11 +65,12 @@ GNUNET_GETOPT_print_version_ (struct GNUNET_GETOPT_CommandLineProcessorContext | |||
60 | * @param scls additional closure (points to about text) | 65 | * @param scls additional closure (points to about text) |
61 | * @param option name of the option | 66 | * @param option name of the option |
62 | * @param value not used (NULL) | 67 | * @param value not used (NULL) |
63 | * @return GNUNET_NO (do not continue, not an error) | 68 | * @return #GNUNET_NO (do not continue, not an error) |
64 | */ | 69 | */ |
65 | int | 70 | int |
66 | GNUNET_GETOPT_format_help_ (struct GNUNET_GETOPT_CommandLineProcessorContext | 71 | GNUNET_GETOPT_format_help_ (struct GNUNET_GETOPT_CommandLineProcessorContext *ctx, |
67 | *ctx, void *scls, const char *option, | 72 | void *scls, |
73 | const char *option, | ||
68 | const char *value) | 74 | const char *value) |
69 | { | 75 | { |
70 | const char *about = scls; | 76 | const char *about = scls; |
@@ -166,7 +172,7 @@ OUTER: | |||
166 | * @param scls additional closure (will point to the 'int') | 172 | * @param scls additional closure (will point to the 'int') |
167 | * @param option name of the option | 173 | * @param option name of the option |
168 | * @param value not used (NULL) | 174 | * @param value not used (NULL) |
169 | * @return GNUNET_OK | 175 | * @return #GNUNET_OK |
170 | */ | 176 | */ |
171 | int | 177 | int |
172 | GNUNET_GETOPT_increment_value (struct GNUNET_GETOPT_CommandLineProcessorContext | 178 | GNUNET_GETOPT_increment_value (struct GNUNET_GETOPT_CommandLineProcessorContext |
@@ -192,7 +198,7 @@ GNUNET_GETOPT_increment_value (struct GNUNET_GETOPT_CommandLineProcessorContext | |||
192 | * @param scls additional closure (will point to the 'int') | 198 | * @param scls additional closure (will point to the 'int') |
193 | * @param option name of the option | 199 | * @param option name of the option |
194 | * @param value not used (NULL) | 200 | * @param value not used (NULL) |
195 | * @return GNUNET_OK | 201 | * @return #GNUNET_OK |
196 | */ | 202 | */ |
197 | int | 203 | int |
198 | GNUNET_GETOPT_set_one (struct GNUNET_GETOPT_CommandLineProcessorContext *ctx, | 204 | GNUNET_GETOPT_set_one (struct GNUNET_GETOPT_CommandLineProcessorContext *ctx, |
@@ -217,7 +223,7 @@ GNUNET_GETOPT_set_one (struct GNUNET_GETOPT_CommandLineProcessorContext *ctx, | |||
217 | * which will be allocated) | 223 | * which will be allocated) |
218 | * @param option name of the option | 224 | * @param option name of the option |
219 | * @param value actual value of the option (a string) | 225 | * @param value actual value of the option (a string) |
220 | * @return GNUNET_OK | 226 | * @return #GNUNET_OK |
221 | */ | 227 | */ |
222 | int | 228 | int |
223 | GNUNET_GETOPT_set_string (struct GNUNET_GETOPT_CommandLineProcessorContext *ctx, | 229 | GNUNET_GETOPT_set_string (struct GNUNET_GETOPT_CommandLineProcessorContext *ctx, |
@@ -255,7 +261,7 @@ GNUNET_GETOPT_set_filename (struct GNUNET_GETOPT_CommandLineProcessorContext *ct | |||
255 | * @param scls additional closure (will point to the 'unsigned long long') | 261 | * @param scls additional closure (will point to the 'unsigned long long') |
256 | * @param option name of the option | 262 | * @param option name of the option |
257 | * @param value actual value of the option as a string. | 263 | * @param value actual value of the option as a string. |
258 | * @return GNUNET_OK if parsing the value worked | 264 | * @return #GNUNET_OK if parsing the value worked |
259 | */ | 265 | */ |
260 | int | 266 | int |
261 | GNUNET_GETOPT_set_ulong (struct GNUNET_GETOPT_CommandLineProcessorContext *ctx, | 267 | GNUNET_GETOPT_set_ulong (struct GNUNET_GETOPT_CommandLineProcessorContext *ctx, |
@@ -283,7 +289,7 @@ GNUNET_GETOPT_set_ulong (struct GNUNET_GETOPT_CommandLineProcessorContext *ctx, | |||
283 | * @param scls additional closure (will point to the 'struct GNUNET_TIME_Relative') | 289 | * @param scls additional closure (will point to the 'struct GNUNET_TIME_Relative') |
284 | * @param option name of the option | 290 | * @param option name of the option |
285 | * @param value actual value of the option as a string. | 291 | * @param value actual value of the option as a string. |
286 | * @return GNUNET_OK if parsing the value worked | 292 | * @return #GNUNET_OK if parsing the value worked |
287 | */ | 293 | */ |
288 | int | 294 | int |
289 | GNUNET_GETOPT_set_relative_time (struct GNUNET_GETOPT_CommandLineProcessorContext *ctx, | 295 | GNUNET_GETOPT_set_relative_time (struct GNUNET_GETOPT_CommandLineProcessorContext *ctx, |
@@ -313,7 +319,7 @@ GNUNET_GETOPT_set_relative_time (struct GNUNET_GETOPT_CommandLineProcessorContex | |||
313 | * @param scls additional closure (will point to the 'unsigned int') | 319 | * @param scls additional closure (will point to the 'unsigned int') |
314 | * @param option name of the option | 320 | * @param option name of the option |
315 | * @param value actual value of the option as a string. | 321 | * @param value actual value of the option as a string. |
316 | * @return GNUNET_OK if parsing the value worked | 322 | * @return #GNUNET_OK if parsing the value worked |
317 | */ | 323 | */ |
318 | int | 324 | int |
319 | GNUNET_GETOPT_set_uint (struct GNUNET_GETOPT_CommandLineProcessorContext *ctx, | 325 | GNUNET_GETOPT_set_uint (struct GNUNET_GETOPT_CommandLineProcessorContext *ctx, |