diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2022-01-04 15:39:09 +0100 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-01-04 15:39:09 +0100 |
commit | b5941266e6fdc43c2730262f518eabb86254c78d (patch) | |
tree | 6f87f788117636da37140714522658ad344ff0d9 | |
parent | ecb597d6fb23e18a282059791c49716aa8ffd8cb (diff) | |
download | gana-b5941266e6fdc43c2730262f518eabb86254c78d.tar.gz gana-b5941266e6fdc43c2730262f518eabb86254c78d.zip |
fix signature and tld templates
-rw-r--r-- | gnu-name-system-default-tlds/tlds.template | 2 | ||||
-rw-r--r-- | gnunet-signatures/h.footer | 3 | ||||
-rw-r--r-- | gnunet-signatures/h.header | 12 | ||||
-rw-r--r-- | gnunet-signatures/h.template | 8 |
4 files changed, 12 insertions, 13 deletions
diff --git a/gnu-name-system-default-tlds/tlds.template b/gnu-name-system-default-tlds/tlds.template index b79f4c2..3f056fe 100644 --- a/gnu-name-system-default-tlds/tlds.template +++ b/gnu-name-system-default-tlds/tlds.template | |||
@@ -1,2 +1,4 @@ | |||
1 | |||
1 | # {{Comment}} | 2 | # {{Comment}} |
2 | .{{Name}} = {{Key}} | 3 | .{{Name}} = {{Key}} |
4 | |||
diff --git a/gnunet-signatures/h.footer b/gnunet-signatures/h.footer index 5d32ee9..389d1b4 100644 --- a/gnunet-signatures/h.footer +++ b/gnunet-signatures/h.footer | |||
@@ -1,8 +1,5 @@ | |||
1 | 1 | ||
2 | 2 | ||
3 | }; | ||
4 | |||
5 | |||
6 | #if 0 /* keep Emacsens' auto-indent happy */ | 3 | #if 0 /* keep Emacsens' auto-indent happy */ |
7 | { | 4 | { |
8 | #endif | 5 | #endif |
diff --git a/gnunet-signatures/h.header b/gnunet-signatures/h.header index 57fced0..0565d03 100644 --- a/gnunet-signatures/h.header +++ b/gnunet-signatures/h.header | |||
@@ -1,21 +1,21 @@ | |||
1 | /* | 1 | /* |
2 | This file is part of GNUnet | 2 | This file is part of GNUnet |
3 | Copyright (C) 2012-2020 GNUnet e.V. | 3 | Copyright (C) 2012-2022 GNUnet e.V. |
4 | 4 | ||
5 | GNUnet is free software: you can redistribute it and/or modify it | 5 | GNUnet is free software: you can redistribute it and/or modify it |
6 | 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 of the License, | 7 | by the Free Software Foundation, either version 3 of the License, |
8 | or (at your 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 this program. If not, see <http://www.gnu.org/licenses/>. | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | ||
18 | SPDX-License-Identifier: GPL3.0-or-later | 18 | SPDX-License-Identifier: AGPL3.0-or-later |
19 | */ | 19 | */ |
20 | #ifndef GNUNET_SIGNATURES_H | 20 | #ifndef GNUNET_SIGNATURES_H |
21 | #define GNUNET_SIGNATURES_H | 21 | #define GNUNET_SIGNATURES_H |
@@ -32,4 +32,4 @@ extern "C" { | |||
32 | * Network signature purpose definitions. Note that all values | 32 | * Network signature purpose definitions. Note that all values |
33 | * must be uint32_t and encoded in network byte order in the structs. | 33 | * must be uint32_t and encoded in network byte order in the structs. |
34 | */ | 34 | */ |
35 | enum GNUNET_SignaturePurpose { | 35 | |
diff --git a/gnunet-signatures/h.template b/gnunet-signatures/h.template index 5fb7cf4..f9c2213 100644 --- a/gnunet-signatures/h.template +++ b/gnunet-signatures/h.template | |||
@@ -1,6 +1,6 @@ | |||
1 | 1 | ||
2 | 2 | ||
3 | /** | 3 | /** |
4 | * {{Description}} ({{Subsystem}}) | 4 | * {{Comment}} ({{Subsystem}}) |
5 | */ | 5 | */ |
6 | GNUNET_SIGNATURE_PURPOSE_{{Identifier}} = {{Value}}, | 6 | #define GNUNET_SIGNATURE_PURPOSE_{{Name}} {{Number}} |