diff options
Diffstat (limited to 'src/core/gnunet-service-core_kx.c')
-rw-r--r-- | src/core/gnunet-service-core_kx.c | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/src/core/gnunet-service-core_kx.c b/src/core/gnunet-service-core_kx.c index 21f1308f7..6e713cf61 100644 --- a/src/core/gnunet-service-core_kx.c +++ b/src/core/gnunet-service-core_kx.c | |||
@@ -2,20 +2,18 @@ | |||
2 | This file is part of GNUnet. | 2 | This file is part of GNUnet. |
3 | Copyright (C) 2009-2013, 2016 GNUnet e.V. | 3 | Copyright (C) 2009-2013, 2016 GNUnet e.V. |
4 | 4 | ||
5 | GNUnet is free software; you can redistribute it and/or modify | 5 | GNUnet is free software: you can redistribute it and/or modify it |
6 | it under the terms of the GNU General Public License as published | 6 | under the terms of the GNU Affero General Public License as published |
7 | by the Free Software Foundation; either version 3, or (at your | 7 | by the Free Software Foundation, either version 3 of the License, |
8 | option) any later version. | 8 | or (at your option) any later version. |
9 | 9 | ||
10 | GNUnet is distributed in the hope that it will be useful, but | 10 | GNUnet is distributed in the hope that it will be useful, but |
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | 11 | WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | General Public License for more details. | 13 | Affero General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU General Public License | 15 | You should have received a copy of the GNU Affero General Public License |
16 | along with GNUnet; see the file COPYING. If not, write to the | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
18 | Boston, MA 02110-1301, USA. | ||
19 | */ | 17 | */ |
20 | 18 | ||
21 | /** | 19 | /** |
@@ -1051,7 +1049,7 @@ handle_ephemeral_key (void *cls, | |||
1051 | (start_t.abs_value_us > GNUNET_TIME_absolute_add (now, REKEY_TOLERANCE).abs_value_us) ) | 1049 | (start_t.abs_value_us > GNUNET_TIME_absolute_add (now, REKEY_TOLERANCE).abs_value_us) ) |
1052 | { | 1050 | { |
1053 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 1051 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
1054 | _("EPHERMAL_KEY from peer `%s' rejected as its validity range does not match our system time (%llu not in [%llu,%llu]).\n"), | 1052 | _("EPHEMERAL_KEY from peer `%s' rejected as its validity range does not match our system time (%llu not in [%llu,%llu]).\n"), |
1055 | GNUNET_i2s (kx->peer), | 1053 | GNUNET_i2s (kx->peer), |
1056 | (unsigned long long) now.abs_value_us, | 1054 | (unsigned long long) now.abs_value_us, |
1057 | (unsigned long long) start_t.abs_value_us, | 1055 | (unsigned long long) start_t.abs_value_us, |
@@ -1490,7 +1488,7 @@ send_key (struct GSC_KeyExchangeInfo *kx) | |||
1490 | sizeof (current_ekm.ephemeral_key), | 1488 | sizeof (current_ekm.ephemeral_key), |
1491 | &hc); | 1489 | &hc); |
1492 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 1490 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
1493 | "Sending EPHERMERAL_KEY %s to `%s' (my status: %d)\n", | 1491 | "Sending EPHEMERAL_KEY %s to `%s' (my status: %d)\n", |
1494 | GNUNET_h2s (&hc), | 1492 | GNUNET_h2s (&hc), |
1495 | GNUNET_i2s (kx->peer), | 1493 | GNUNET_i2s (kx->peer), |
1496 | kx->status); | 1494 | kx->status); |