aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/.gitignore1
-rw-r--r--src/util/Makefile.am3
-rw-r--r--src/util/bandwidth.c18
-rw-r--r--src/util/bio.c18
-rw-r--r--src/util/client.c18
-rw-r--r--src/util/common_allocation.c18
-rw-r--r--src/util/common_endian.c18
-rw-r--r--src/util/common_logging.c18
-rw-r--r--src/util/configuration.c18
-rw-r--r--src/util/configuration_loader.c18
-rw-r--r--src/util/container_bloomfilter.c18
-rw-r--r--src/util/container_heap.c18
-rw-r--r--src/util/container_meta_data.c18
-rw-r--r--src/util/container_multihashmap.c18
-rw-r--r--src/util/container_multihashmap32.c18
-rw-r--r--src/util/container_multipeermap.c18
-rw-r--r--src/util/container_multishortmap.c18
-rw-r--r--src/util/crypto_abe.c18
-rw-r--r--src/util/crypto_bug.c79
-rw-r--r--src/util/crypto_crc.c18
-rw-r--r--src/util/crypto_ecc.c21
-rw-r--r--src/util/crypto_ecc_dlog.c18
-rw-r--r--src/util/crypto_ecc_setup.c21
-rw-r--r--src/util/crypto_hash.c18
-rw-r--r--src/util/crypto_hash_file.c18
-rw-r--r--src/util/crypto_kdf.c18
-rw-r--r--src/util/crypto_mpi.c18
-rw-r--r--src/util/crypto_paillier.c18
-rw-r--r--src/util/crypto_random.c18
-rw-r--r--src/util/crypto_rsa.c22
-rw-r--r--src/util/crypto_symmetric.c18
-rw-r--r--src/util/disk.c18
-rw-r--r--src/util/disk.h18
-rw-r--r--src/util/getopt_helpers.c94
-rw-r--r--src/util/gnunet-config.c48
-rw-r--r--src/util/gnunet-ecc.c18
-rw-r--r--src/util/gnunet-helper-w32-console.c18
-rw-r--r--src/util/gnunet-helper-w32-console.h18
-rw-r--r--src/util/gnunet-resolver.c18
-rw-r--r--src/util/gnunet-scrypt.c18
-rw-r--r--src/util/gnunet-service-resolver.c24
-rw-r--r--src/util/gnunet-uri.c18
-rw-r--r--src/util/helper.c18
-rw-r--r--src/util/load.c18
-rw-r--r--src/util/mq.c55
-rw-r--r--src/util/mst.c18
-rw-r--r--src/util/nc.c18
-rw-r--r--src/util/network.c18
-rw-r--r--src/util/op.c18
-rw-r--r--src/util/os_installation.c18
-rw-r--r--src/util/os_network.c18
-rw-r--r--src/util/os_priority.c18
-rw-r--r--src/util/peer.c18
-rw-r--r--src/util/perf_crypto_asymmetric.c18
-rw-r--r--src/util/perf_crypto_ecc_dlog.c18
-rw-r--r--src/util/perf_crypto_hash.c18
-rw-r--r--src/util/perf_crypto_paillier.c18
-rw-r--r--src/util/perf_crypto_rsa.c18
-rw-r--r--src/util/perf_crypto_symmetric.c18
-rw-r--r--src/util/perf_malloc.c18
-rw-r--r--src/util/plugin.c18
-rw-r--r--src/util/program.c18
-rw-r--r--src/util/resolver.h18
-rw-r--r--src/util/resolver_api.c18
-rw-r--r--src/util/scheduler.c18
-rw-r--r--src/util/service.c58
-rw-r--r--src/util/signal.c18
-rw-r--r--src/util/socks.c18
-rw-r--r--src/util/speedup.c18
-rw-r--r--src/util/speedup.h18
-rw-r--r--src/util/strings.c18
-rw-r--r--src/util/test_bio.c18
-rw-r--r--src/util/test_client.c18
-rw-r--r--src/util/test_common_allocation.c18
-rw-r--r--src/util/test_common_endian.c18
-rw-r--r--src/util/test_common_logging.c18
-rw-r--r--src/util/test_common_logging_dummy.c18
-rw-r--r--src/util/test_common_logging_runtime_loglevels.c18
-rw-r--r--src/util/test_configuration.c18
-rw-r--r--src/util/test_container_bloomfilter.c18
-rw-r--r--src/util/test_container_dll.c16
-rw-r--r--src/util/test_container_heap.c16
-rw-r--r--src/util/test_container_meta_data.c18
-rw-r--r--src/util/test_container_multihashmap.c18
-rw-r--r--src/util/test_container_multihashmap32.c18
-rw-r--r--src/util/test_container_multipeermap.c18
-rw-r--r--src/util/test_crypto_crc.c18
-rw-r--r--src/util/test_crypto_ecc_dlog.c18
-rw-r--r--src/util/test_crypto_ecdh_eddsa.c18
-rw-r--r--src/util/test_crypto_ecdhe.c18
-rw-r--r--src/util/test_crypto_ecdsa.c18
-rw-r--r--src/util/test_crypto_eddsa.c18
-rw-r--r--src/util/test_crypto_hash.c18
-rw-r--r--src/util/test_crypto_hash_context.c22
-rw-r--r--src/util/test_crypto_paillier.c18
-rw-r--r--src/util/test_crypto_random.c18
-rw-r--r--src/util/test_crypto_rsa.c20
-rw-r--r--src/util/test_crypto_symmetric.c18
-rw-r--r--src/util/test_disk.c18
-rw-r--r--src/util/test_getopt.c18
-rw-r--r--src/util/test_mq.c18
-rw-r--r--src/util/test_os_network.c18
-rw-r--r--src/util/test_os_start_process.c18
-rw-r--r--src/util/test_peer.c18
-rw-r--r--src/util/test_plugin.c18
-rw-r--r--src/util/test_plugin_plug.c18
-rw-r--r--src/util/test_program.c18
-rw-r--r--src/util/test_resolver_api.c16
-rw-r--r--src/util/test_scheduler.c18
-rw-r--r--src/util/test_scheduler_delay.c18
-rw-r--r--src/util/test_service.c18
-rw-r--r--src/util/test_socks.c18
-rw-r--r--src/util/test_speedup.c18
-rw-r--r--src/util/test_strings.c18
-rw-r--r--src/util/test_strings_to_data.c18
-rw-r--r--src/util/test_time.c18
-rw-r--r--src/util/time.c18
-rw-r--r--src/util/win.c18
-rw-r--r--src/util/winproc.c18
119 files changed, 1113 insertions, 1257 deletions
diff --git a/src/util/.gitignore b/src/util/.gitignore
index d32a668336..23139a1abc 100644
--- a/src/util/.gitignore
+++ b/src/util/.gitignore
@@ -68,3 +68,4 @@ perf_crypto_asymmetric
perf_crypto_hash
perf_crypto_symmetric
perf_crypto_rsa
+perf_crypto_ecc_dlog
diff --git a/src/util/Makefile.am b/src/util/Makefile.am
index 407f482df8..208cab07b0 100644
--- a/src/util/Makefile.am
+++ b/src/util/Makefile.am
@@ -598,5 +598,4 @@ EXTRA_DIST = \
test_resolver_api_data.conf \
test_service_data.conf \
test_speedup_data.conf \
- gnunet-qr.py.in \
- crypto_bug.c
+ gnunet-qr.py.in
diff --git a/src/util/bandwidth.c b/src/util/bandwidth.c
index f551bbb829..5e0bae539a 100644
--- a/src/util/bandwidth.c
+++ b/src/util/bandwidth.c
@@ -2,20 +2,18 @@
This file is part of GNUnet.
Copyright (C) 2010, 2013 GNUnet e.V.
- GNUnet is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published
- by the Free Software Foundation; either version 3, or (at your
- option) any later version.
+ GNUnet is free software: you can redistribute it and/or modify it
+ under the terms of the GNU Affero General Public License as published
+ by the Free Software Foundation, either version 3 of the License,
+ or (at your option) any later version.
GNUnet is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with GNUnet; see the file COPYING. If not, write to the
- Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
+ Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/**
diff --git a/src/util/bio.c b/src/util/bio.c
index 816917a223..a31e5448f3 100644
--- a/src/util/bio.c
+++ b/src/util/bio.c
@@ -2,20 +2,18 @@
This file is part of GNUnet.
Copyright (C) 2006, 2009, 2013 GNUnet e.V.
- GNUnet is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published
- by the Free Software Foundation; either version 3, or (at your
- option) any later version.
+ GNUnet is free software: you can redistribute it and/or modify it
+ under the terms of the GNU Affero General Public License as published
+ by the Free Software Foundation, either version 3 of the License,
+ or (at your option) any later version.
GNUnet is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with GNUnet; see the file COPYING. If not, write to the
- Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
+ Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/**
* @file util/bio.c
diff --git a/src/util/client.c b/src/util/client.c
index 3479fa971d..44e326eab3 100644
--- a/src/util/client.c
+++ b/src/util/client.c
@@ -2,20 +2,18 @@
This file is part of GNUnet.
Copyright (C) 2001-2016 GNUnet e.V.
- GNUnet is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published
- by the Free Software Foundation; either version 3, or (at your
- option) any later version.
+ GNUnet is free software: you can redistribute it and/or modify it
+ under the terms of the GNU Affero General Public License as published
+ by the Free Software Foundation, either version 3 of the License,
+ or (at your option) any later version.
GNUnet is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with GNUnet; see the file COPYING. If not, write to the
- Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
+ Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/**
diff --git a/src/util/common_allocation.c b/src/util/common_allocation.c
index 1c55d72b56..53e1a67076 100644
--- a/src/util/common_allocation.c
+++ b/src/util/common_allocation.c
@@ -2,20 +2,18 @@
This file is part of GNUnet.
Copyright (C) 2001, 2002, 2003, 2005, 2006 GNUnet e.V.
- GNUnet is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published
- by the Free Software Foundation; either version 3, or (at your
- option) any later version.
+ GNUnet is free software: you can redistribute it and/or modify it
+ under the terms of the GNU Affero General Public License as published
+ by the Free Software Foundation, either version 3 of the License,
+ or (at your option) any later version.
GNUnet is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with GNUnet; see the file COPYING. If not, write to the
- Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
+ Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License