aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac4
-rw-r--r--po/POTFILES.in95
-rw-r--r--src/include/gnunet_crypto_lib.h16
-rw-r--r--src/util/crypto_rsa.c16
-rw-r--r--src/util/getopt_helpers.c34
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])
1244AC_MSG_RESULT($enable_malicious) 1244AC_MSG_RESULT($enable_malicious)
1245AM_CONDITIONAL([ENABLE_MALICIOUS], [1=$malicious]) 1245AM_CONDITIONAL([ENABLE_MALICIOUS], [test 1=$malicious])
1246AC_DEFINE_UNQUOTED([ENABLE_MALICIOUS], [$malicious], 1246AC_DEFINE_UNQUOTED([ENABLE_MALICIOUS], [$malicious],
1247 [enable compilation of malicious code]) 1247 [enable compilation of malicious code])
1248 1248
@@ -1639,7 +1639,7 @@ then
1639fi 1639fi
1640 1640
1641# conversation 1641# conversation
1642if test "x$conversation_backend" == "xnone" 1642if test "x$conversation_backend" = "xnone"
1643then 1643then
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
3src/arm/gnunet-arm.c 3src/arm/gnunet-arm.c
4src/arm/gnunet-service-arm.c 4src/arm/gnunet-service-arm.c
5src/arm/mockup-service.c 5src/arm/mockup-service.c
6src/ats-tests/ats-testing-experiment.c
7src/ats-tests/ats-testing-log.c
8src/ats-tests/ats-testing-preferences.c
9src/ats-tests/ats-testing-traffic.c
10src/ats-tests/ats-testing.c
11src/ats-tests/gnunet-ats-sim.c
12src/ats-tests/gnunet-solver-eval.c
13src/ats-tool/gnunet-ats.c
6src/ats/ats_api_connectivity.c 14src/ats/ats_api_connectivity.c
7src/ats/ats_api_performance.c 15src/ats/ats_api_performance.c
8src/ats/ats_api_scanner.c 16src/ats/ats_api_scanner.c
9src/ats/ats_api_scheduling.c 17src/ats/ats_api_scheduling.c
10src/ats/gnunet-ats-solver-eval.c 18src/ats/gnunet-ats-solver-eval.c
11src/ats/gnunet-service-ats_addresses.c
12src/ats/gnunet-service-ats.c 19src/ats/gnunet-service-ats.c
20src/ats/gnunet-service-ats_addresses.c
13src/ats/gnunet-service-ats_connectivity.c 21src/ats/gnunet-service-ats_connectivity.c
14src/ats/gnunet-service-ats_feedback.c 22src/ats/gnunet-service-ats_feedback.c
15src/ats/gnunet-service-ats_normalization.c 23src/ats/gnunet-service-ats_normalization.c
@@ -21,14 +29,6 @@ src/ats/gnunet-service-ats_scheduling.c
21src/ats/plugin_ats_mlp.c 29src/ats/plugin_ats_mlp.c
22src/ats/plugin_ats_proportional.c 30src/ats/plugin_ats_proportional.c
23src/ats/plugin_ats_ril.c 31src/ats/plugin_ats_ril.c
24src/ats-tests/ats-testing.c
25src/ats-tests/ats-testing-experiment.c
26src/ats-tests/ats-testing-log.c
27src/ats-tests/ats-testing-preferences.c
28src/ats-tests/ats-testing-traffic.c
29src/ats-tests/gnunet-ats-sim.c
30src/ats-tests/gnunet-solver-eval.c
31src/ats-tool/gnunet-ats.c
32src/block/block.c 32src/block/block.c
33src/block/plugin_block_template.c 33src/block/plugin_block_template.c
34src/block/plugin_block_test.c 34src/block/plugin_block_test.c
@@ -37,8 +37,8 @@ src/cadet/cadet_common.c
37src/cadet/cadet_path.c 37src/cadet/cadet_path.c
38src/cadet/cadet_test_lib.c 38src/cadet/cadet_test_lib.c
39src/cadet/cadet_tunnel_tree.c 39src/cadet/cadet_tunnel_tree.c
40src/cadet/gnunet-cadet.c
41src/cadet/gnunet-cadet-profiler.c 40src/cadet/gnunet-cadet-profiler.c
41src/cadet/gnunet-cadet.c
42src/cadet/gnunet-service-cadet.c 42src/cadet/gnunet-service-cadet.c
43src/cadet/gnunet-service-cadet_channel.c 43src/cadet/gnunet-service-cadet_channel.c
44src/cadet/gnunet-service-cadet_connection.c 44src/cadet/gnunet-service-cadet_connection.c
@@ -52,12 +52,12 @@ src/consensus/gnunet-consensus-profiler.c
52src/consensus/gnunet-service-consensus.c 52src/consensus/gnunet-service-consensus.c
53src/conversation/conversation_api.c 53src/conversation/conversation_api.c
54src/conversation/conversation_api_call.c 54src/conversation/conversation_api_call.c
55src/conversation/gnunet-conversation.c
56src/conversation/gnunet-conversation-test.c 55src/conversation/gnunet-conversation-test.c
57src/conversation/gnunet-helper-audio-playback.c 56src/conversation/gnunet-conversation.c
58src/conversation/gnunet-helper-audio-playback-gst.c 57src/conversation/gnunet-helper-audio-playback-gst.c
59src/conversation/gnunet-helper-audio-record.c 58src/conversation/gnunet-helper-audio-playback.c
60src/conversation/gnunet-helper-audio-record-gst.c 59src/conversation/gnunet-helper-audio-record-gst.c
60src/conversation/gnunet-helper-audio-record.c
61src/conversation/gnunet-service-conversation.c 61src/conversation/gnunet-service-conversation.c
62src/conversation/microphone.c 62src/conversation/microphone.c
63src/conversation/plugin_gnsrecord_conversation.c 63src/conversation/plugin_gnsrecord_conversation.c
@@ -89,7 +89,6 @@ src/dht/dht_api.c
89src/dht/dht_test_lib.c 89src/dht/dht_test_lib.c
90src/dht/gnunet-dht-get.c 90src/dht/gnunet-dht-get.c
91src/dht/gnunet-dht-monitor.c 91src/dht/gnunet-dht-monitor.c
92src/dht/gnunet_dht_profiler.c
93src/dht/gnunet-dht-put.c 92src/dht/gnunet-dht-put.c
94src/dht/gnunet-service-dht.c 93src/dht/gnunet-service-dht.c
95src/dht/gnunet-service-dht_clients.c 94src/dht/gnunet-service-dht_clients.c
@@ -105,6 +104,7 @@ src/dht/gnunet-service-xdht_hello.c
105src/dht/gnunet-service-xdht_neighbours.c 104src/dht/gnunet-service-xdht_neighbours.c
106src/dht/gnunet-service-xdht_nse.c 105src/dht/gnunet-service-xdht_nse.c
107src/dht/gnunet-service-xdht_routing.c 106src/dht/gnunet-service-xdht_routing.c
107src/dht/gnunet_dht_profiler.c
108src/dht/plugin_block_dht.c 108src/dht/plugin_block_dht.c
109src/dns/dns_api.c 109src/dns/dns_api.c
110src/dns/dnsparser.c 110src/dns/dnsparser.c
@@ -120,8 +120,8 @@ src/dv/gnunet-service-dv.c
120src/dv/plugin_transport_dv.c 120src/dv/plugin_transport_dv.c
121src/env/env.c 121src/env/env.c
122src/exit/gnunet-daemon-exit.c 122src/exit/gnunet-daemon-exit.c
123src/exit/gnunet-helper-exit.c
124src/exit/gnunet-helper-exit-windows.c 123src/exit/gnunet-helper-exit-windows.c
124src/exit/gnunet-helper-exit.c
125src/fragmentation/defragmentation.c 125src/fragmentation/defragmentation.c
126src/fragmentation/fragmentation.c 126src/fragmentation/fragmentation.c
127src/fs/fs_api.c 127src/fs/fs_api.c
@@ -146,8 +146,8 @@ src/fs/gnunet-auto-share.c
146src/fs/gnunet-daemon-fsprofiler.c 146src/fs/gnunet-daemon-fsprofiler.c
147src/fs/gnunet-directory.c 147src/fs/gnunet-directory.c
148src/fs/gnunet-download.c 148src/fs/gnunet-download.c
149src/fs/gnunet-fs.c
150src/fs/gnunet-fs-profiler.c 149src/fs/gnunet-fs-profiler.c
150src/fs/gnunet-fs.c
151src/fs/gnunet-helper-fs-publish.c 151src/fs/gnunet-helper-fs-publish.c
152src/fs/gnunet-publish.c 152src/fs/gnunet-publish.c
153src/fs/gnunet-search.c 153src/fs/gnunet-search.c
@@ -166,10 +166,10 @@ src/fs/plugin_block_fs.c
166src/gns/gns_api.c 166src/gns/gns_api.c
167src/gns/gnunet-bcd.c 167src/gns/gnunet-bcd.c
168src/gns/gnunet-dns2gns.c 168src/gns/gnunet-dns2gns.c
169src/gns/gnunet-gns.c
170src/gns/gnunet-gns-helper-service-w32.c 169src/gns/gnunet-gns-helper-service-w32.c
171src/gns/gnunet-gns-import.c 170src/gns/gnunet-gns-import.c
172src/gns/gnunet-gns-proxy.c 171src/gns/gnunet-gns-proxy.c
172src/gns/gnunet-gns.c
173src/gns/gnunet-service-gns.c 173src/gns/gnunet-service-gns.c
174src/gns/gnunet-service-gns_interceptor.c 174src/gns/gnunet-service-gns_interceptor.c
175src/gns/gnunet-service-gns_resolver.c 175src/gns/gnunet-service-gns_resolver.c
@@ -179,15 +179,15 @@ src/gns/nss/nss_gns_query.c
179src/gns/plugin_block_gns.c 179src/gns/plugin_block_gns.c
180src/gns/plugin_gnsrecord_gns.c 180src/gns/plugin_gnsrecord_gns.c
181src/gns/plugin_rest_gns.c 181src/gns/plugin_rest_gns.c
182src/gns/w32nsp-install.c
183src/gns/w32nsp-resolve.c
184src/gns/w32nsp-uninstall.c
185src/gns/w32nsp.c
182src/gnsrecord/gnsrecord.c 186src/gnsrecord/gnsrecord.c
183src/gnsrecord/gnsrecord_crypto.c 187src/gnsrecord/gnsrecord_crypto.c
184src/gnsrecord/gnsrecord_misc.c 188src/gnsrecord/gnsrecord_misc.c
185src/gnsrecord/gnsrecord_serialization.c 189src/gnsrecord/gnsrecord_serialization.c
186src/gnsrecord/plugin_gnsrecord_dns.c 190src/gnsrecord/plugin_gnsrecord_dns.c
187src/gns/w32nsp.c
188src/gns/w32nsp-install.c
189src/gns/w32nsp-resolve.c
190src/gns/w32nsp-uninstall.c
191src/hello/address.c 191src/hello/address.c
192src/hello/gnunet-hello.c 192src/hello/gnunet-hello.c
193src/hello/hello.c 193src/hello/hello.c
@@ -208,31 +208,31 @@ src/namecache/gnunet-service-namecache.c
208src/namecache/namecache_api.c 208src/namecache/namecache_api.c
209src/namecache/plugin_namecache_postgres.c 209src/namecache/plugin_namecache_postgres.c
210src/namecache/plugin_namecache_sqlite.c 210src/namecache/plugin_namecache_sqlite.c
211src/namestore/gnunet-namestore.c
212src/namestore/gnunet-namestore-fcfsd.c 211src/namestore/gnunet-namestore-fcfsd.c
212src/namestore/gnunet-namestore.c
213src/namestore/gnunet-service-namestore.c 213src/namestore/gnunet-service-namestore.c
214src/namestore/namestore_api.c 214src/namestore/namestore_api.c
215src/namestore/namestore_api_monitor.c 215src/namestore/namestore_api_monitor.c
216src/namestore/plugin_namestore_postgres.c 216src/namestore/plugin_namestore_postgres.c
217src/namestore/plugin_namestore_sqlite.c 217src/namestore/plugin_namestore_sqlite.c
218src/nat/gnunet-helper-nat-client.c
219src/nat/gnunet-helper-nat-client-windows.c 218src/nat/gnunet-helper-nat-client-windows.c
220src/nat/gnunet-helper-nat-server.c 219src/nat/gnunet-helper-nat-client.c
221src/nat/gnunet-helper-nat-server-windows.c 220src/nat/gnunet-helper-nat-server-windows.c
221src/nat/gnunet-helper-nat-server.c
222src/nat/gnunet-nat-server.c 222src/nat/gnunet-nat-server.c
223src/nat/nat_auto.c
224src/nat/nat.c 223src/nat/nat.c
224src/nat/nat_auto.c
225src/nat/nat_mini.c 225src/nat/nat_mini.c
226src/nat/nat_test.c 226src/nat/nat_test.c
227src/nse/gnunet-nse.c
228src/nse/gnunet-nse-profiler.c 227src/nse/gnunet-nse-profiler.c
228src/nse/gnunet-nse.c
229src/nse/gnunet-service-nse.c 229src/nse/gnunet-service-nse.c
230src/nse/nse_api.c 230src/nse/nse_api.c
231src/peerinfo-tool/gnunet-peerinfo.c
232src/peerinfo-tool/gnunet-peerinfo_plugins.c
231src/peerinfo/gnunet-service-peerinfo.c 233src/peerinfo/gnunet-service-peerinfo.c
232src/peerinfo/peerinfo_api.c 234src/peerinfo/peerinfo_api.c
233src/peerinfo/peerinfo_api_notify.c 235src/peerinfo/peerinfo_api_notify.c
234src/peerinfo-tool/gnunet-peerinfo.c
235src/peerinfo-tool/gnunet-peerinfo_plugins.c
236src/peerstore/gnunet-peerstore.c 236src/peerstore/gnunet-peerstore.c
237src/peerstore/gnunet-service-peerstore.c 237src/peerstore/gnunet-service-peerstore.c
238src/peerstore/peerstore_api.c 238src/peerstore/peerstore_api.c
@@ -260,6 +260,7 @@ src/regex/regex_test_graph.c
260src/regex/regex_test_lib.c 260src/regex/regex_test_lib.c
261src/regex/regex_test_random.c 261src/regex/regex_test_random.c
262src/rest/gnunet-rest-server.c 262src/rest/gnunet-rest-server.c
263src/rest/rest.c
263src/revocation/gnunet-revocation.c 264src/revocation/gnunet-revocation.c
264src/revocation/gnunet-service-revocation.c 265src/revocation/gnunet-service-revocation.c
265src/revocation/revocation_api.c 266src/revocation/revocation_api.c
@@ -275,12 +276,10 @@ src/secretsharing/gnunet-secretsharing-profiler.c
275src/secretsharing/gnunet-service-secretsharing.c 276src/secretsharing/gnunet-service-secretsharing.c
276src/secretsharing/secretsharing_api.c 277src/secretsharing/secretsharing_api.c
277src/secretsharing/secretsharing_common.c 278src/secretsharing/secretsharing_common.c
278src/sensordashboard/gnunet-sensordashboard.c
279src/sensordashboard/gnunet-service-sensordashboard.c
280src/sensor/gnunet-sensor.c
281src/sensor/gnunet-sensor-profiler.c 279src/sensor/gnunet-sensor-profiler.c
282src/sensor/gnunet-service-sensor_analysis.c 280src/sensor/gnunet-sensor.c
283src/sensor/gnunet-service-sensor.c 281src/sensor/gnunet-service-sensor.c
282src/sensor/gnunet-service-sensor_analysis.c
284src/sensor/gnunet-service-sensor_monitoring.c 283src/sensor/gnunet-service-sensor_monitoring.c
285src/sensor/gnunet-service-sensor_reporting.c 284src/sensor/gnunet-service-sensor_reporting.c
286src/sensor/gnunet-service-sensor_update.c 285src/sensor/gnunet-service-sensor_update.c
@@ -288,6 +287,8 @@ src/sensor/plugin_sensor_model_gaussian.c
288src/sensor/sensor_api.c 287src/sensor/sensor_api.c
289src/sensor/sensor_util_lib.c 288src/sensor/sensor_util_lib.c
290src/sensor/sensor_util_lib_crypto.c 289src/sensor/sensor_util_lib_crypto.c
290src/sensordashboard/gnunet-sensordashboard.c
291src/sensordashboard/gnunet-service-sensordashboard.c
291src/set/gnunet-service-set.c 292src/set/gnunet-service-set.c
292src/set/gnunet-service-set_intersection.c 293src/set/gnunet-service-set_intersection.c
293src/set/gnunet-service-set_union.c 294src/set/gnunet-service-set_union.c
@@ -308,30 +309,30 @@ src/testbed/gnunet-daemon-latency-logger.c
308src/testbed/gnunet-daemon-testbed-blacklist.c 309src/testbed/gnunet-daemon-testbed-blacklist.c
309src/testbed/gnunet-daemon-testbed-underlay.c 310src/testbed/gnunet-daemon-testbed-underlay.c
310src/testbed/gnunet-helper-testbed.c 311src/testbed/gnunet-helper-testbed.c
311src/testbed/gnunet_mpi_test.c
312src/testbed/gnunet-service-test-barriers.c 312src/testbed/gnunet-service-test-barriers.c
313src/testbed/gnunet-service-testbed_barriers.c 313src/testbed/gnunet-service-testbed-logger.c
314src/testbed/gnunet-service-testbed.c 314src/testbed/gnunet-service-testbed.c
315src/testbed/gnunet-service-testbed_barriers.c
315src/testbed/gnunet-service-testbed_cache.c 316src/testbed/gnunet-service-testbed_cache.c
316src/testbed/gnunet-service-testbed_connectionpool.c 317src/testbed/gnunet-service-testbed_connectionpool.c
317src/testbed/gnunet-service-testbed_cpustatus.c 318src/testbed/gnunet-service-testbed_cpustatus.c
318src/testbed/gnunet-service-testbed_links.c 319src/testbed/gnunet-service-testbed_links.c
319src/testbed/gnunet-service-testbed-logger.c
320src/testbed/gnunet-service-testbed_meminfo.c 320src/testbed/gnunet-service-testbed_meminfo.c
321src/testbed/gnunet-service-testbed_oc.c 321src/testbed/gnunet-service-testbed_oc.c
322src/testbed/gnunet-service-testbed_peers.c 322src/testbed/gnunet-service-testbed_peers.c
323src/testbed/gnunet_testbed_mpi_spawn.c
324src/testbed/gnunet-testbed-profiler.c 323src/testbed/gnunet-testbed-profiler.c
325src/testbed/testbed_api_barriers.c 324src/testbed/gnunet_mpi_test.c
325src/testbed/gnunet_testbed_mpi_spawn.c
326src/testbed/testbed_api.c 326src/testbed/testbed_api.c
327src/testbed/testbed_api_barriers.c
327src/testbed/testbed_api_hosts.c 328src/testbed/testbed_api_hosts.c
328src/testbed/testbed_api_operations.c 329src/testbed/testbed_api_operations.c
329src/testbed/testbed_api_peers.c 330src/testbed/testbed_api_peers.c
330src/testbed/testbed_api_sd.c 331src/testbed/testbed_api_sd.c
331src/testbed/testbed_api_services.c 332src/testbed/testbed_api_services.c
332src/testbed/testbed_api_statistics.c 333src/testbed/testbed_api_statistics.c
333src/testbed/testbed_api_testbed.c
334src/testbed/testbed_api_test.c 334src/testbed/testbed_api_test.c
335src/testbed/testbed_api_testbed.c
335src/testbed/testbed_api_topology.c 336src/testbed/testbed_api_topology.c
336src/testbed/testbed_api_underlay.c 337src/testbed/testbed_api_underlay.c
337src/testbed/testbed_logger_api.c 338src/testbed/testbed_logger_api.c
@@ -341,39 +342,39 @@ src/testing/testing.c
341src/topology/friends.c 342src/topology/friends.c
342src/topology/gnunet-daemon-topology.c 343src/topology/gnunet-daemon-topology.c
343src/transport/gnunet-helper-transport-bluetooth.c 344src/transport/gnunet-helper-transport-bluetooth.c
344src/transport/gnunet-helper-transport-wlan.c
345src/transport/gnunet-helper-transport-wlan-dummy.c 345src/transport/gnunet-helper-transport-wlan-dummy.c
346src/transport/gnunet-helper-transport-wlan.c
347src/transport/gnunet-service-transport.c
346src/transport/gnunet-service-transport_ats.c 348src/transport/gnunet-service-transport_ats.c
347src/transport/gnunet-service-transport_blacklist.c 349src/transport/gnunet-service-transport_blacklist.c
348src/transport/gnunet-service-transport.c
349src/transport/gnunet-service-transport_clients.c 350src/transport/gnunet-service-transport_clients.c
350src/transport/gnunet-service-transport_hello.c 351src/transport/gnunet-service-transport_hello.c
351src/transport/gnunet-service-transport_manipulation.c 352src/transport/gnunet-service-transport_manipulation.c
352src/transport/gnunet-service-transport_neighbours.c 353src/transport/gnunet-service-transport_neighbours.c
353src/transport/gnunet-service-transport_plugins.c 354src/transport/gnunet-service-transport_plugins.c
354src/transport/gnunet-service-transport_validation.c 355src/transport/gnunet-service-transport_validation.c
355src/transport/gnunet-transport.c
356src/transport/gnunet-transport-certificate-creation.c 356src/transport/gnunet-transport-certificate-creation.c
357src/transport/gnunet-transport-profiler.c 357src/transport/gnunet-transport-profiler.c
358src/transport/gnunet-transport-wlan-receiver.c 358src/transport/gnunet-transport-wlan-receiver.c
359src/transport/gnunet-transport-wlan-sender.c 359src/transport/gnunet-transport-wlan-sender.c
360src/transport/gnunet-transport.c
360src/transport/plugin_transport_http_client.c 361src/transport/plugin_transport_http_client.c
361src/transport/plugin_transport_http_common.c 362src/transport/plugin_transport_http_common.c
362src/transport/plugin_transport_http_server.c 363src/transport/plugin_transport_http_server.c
363src/transport/plugin_transport_smtp.c 364src/transport/plugin_transport_smtp.c
364src/transport/plugin_transport_tcp.c 365src/transport/plugin_transport_tcp.c
365src/transport/plugin_transport_template.c 366src/transport/plugin_transport_template.c
366src/transport/plugin_transport_udp_broadcasting.c
367src/transport/plugin_transport_udp.c 367src/transport/plugin_transport_udp.c
368src/transport/plugin_transport_udp_broadcasting.c
368src/transport/plugin_transport_unix.c 369src/transport/plugin_transport_unix.c
369src/transport/plugin_transport_wlan.c 370src/transport/plugin_transport_wlan.c
371src/transport/transport-testing.c
372src/transport/transport_api.c
370src/transport/transport_api_address_to_string.c 373src/transport/transport_api_address_to_string.c
371src/transport/transport_api_blacklist.c 374src/transport/transport_api_blacklist.c
372src/transport/transport_api.c
373src/transport/transport_api_monitor_peers.c 375src/transport/transport_api_monitor_peers.c
374src/transport/transport_api_monitor_plugins.c 376src/transport/transport_api_monitor_plugins.c
375src/transport/transport_api_monitor_validation.c 377src/transport/transport_api_monitor_validation.c
376src/transport/transport-testing.c
377src/tun/regex.c 378src/tun/regex.c
378src/tun/tun.c 379src/tun/tun.c
379src/util/bandwidth.c 380src/util/bandwidth.c
@@ -388,8 +389,8 @@ src/util/connection.c
388src/util/container_bloomfilter.c 389src/util/container_bloomfilter.c
389src/util/container_heap.c 390src/util/container_heap.c
390src/util/container_meta_data.c 391src/util/container_meta_data.c
391src/util/container_multihashmap32.c
392src/util/container_multihashmap.c 392src/util/container_multihashmap.c
393src/util/container_multihashmap32.c
393src/util/container_multipeermap.c 394src/util/container_multipeermap.c
394src/util/crypto_crc.c 395src/util/crypto_crc.c
395src/util/crypto_ecc.c 396src/util/crypto_ecc.c
@@ -404,8 +405,8 @@ src/util/crypto_symmetric.c
404src/util/disk.c 405src/util/disk.c
405src/util/getopt.c 406src/util/getopt.c
406src/util/getopt_helpers.c 407src/util/getopt_helpers.c
407src/util/gnunet-config.c
408src/util/gnunet-config-diff.c 408src/util/gnunet-config-diff.c
409src/util/gnunet-config.c
409src/util/gnunet-ecc.c 410src/util/gnunet-ecc.c
410src/util/gnunet-helper-w32-console.c 411src/util/gnunet-helper-w32-console.c
411src/util/gnunet-resolver.c 412src/util/gnunet-resolver.c
@@ -436,8 +437,8 @@ src/util/time.c
436src/util/w32cat.c 437src/util/w32cat.c
437src/util/win.c 438src/util/win.c
438src/util/winproc.c 439src/util/winproc.c
439src/vpn/gnunet-helper-vpn.c
440src/vpn/gnunet-helper-vpn-windows.c 440src/vpn/gnunet-helper-vpn-windows.c
441src/vpn/gnunet-helper-vpn.c
441src/vpn/gnunet-service-vpn.c 442src/vpn/gnunet-service-vpn.c
442src/vpn/gnunet-vpn.c 443src/vpn/gnunet-vpn.c
443src/vpn/vpn_api.c 444src/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 */
1674int
1675GNUNET_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 */
1791int 1803int
1792GNUNET_CRYPTO_rsa_verify (const struct GNUNET_HashCode *hash, 1804GNUNET_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 */
415int
416GNUNET_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 */
41int 41int
42GNUNET_GETOPT_print_version_ (struct GNUNET_GETOPT_CommandLineProcessorContext 42GNUNET_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 */
65int 70int
66GNUNET_GETOPT_format_help_ (struct GNUNET_GETOPT_CommandLineProcessorContext 71GNUNET_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 */
171int 177int
172GNUNET_GETOPT_increment_value (struct GNUNET_GETOPT_CommandLineProcessorContext 178GNUNET_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 */
197int 203int
198GNUNET_GETOPT_set_one (struct GNUNET_GETOPT_CommandLineProcessorContext *ctx, 204GNUNET_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 */
222int 228int
223GNUNET_GETOPT_set_string (struct GNUNET_GETOPT_CommandLineProcessorContext *ctx, 229GNUNET_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 */
260int 266int
261GNUNET_GETOPT_set_ulong (struct GNUNET_GETOPT_CommandLineProcessorContext *ctx, 267GNUNET_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 */
288int 294int
289GNUNET_GETOPT_set_relative_time (struct GNUNET_GETOPT_CommandLineProcessorContext *ctx, 295GNUNET_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 */
318int 324int
319GNUNET_GETOPT_set_uint (struct GNUNET_GETOPT_CommandLineProcessorContext *ctx, 325GNUNET_GETOPT_set_uint (struct GNUNET_GETOPT_CommandLineProcessorContext *ctx,