diff options
author | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-10-07 12:44:43 +0200 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-10-07 12:44:43 +0200 |
commit | b30d24b831b88c5695550b52b1051c4d6d943ce8 (patch) | |
tree | 50650283392e2398e137a260a6e10ed73dfb08d2 /src/abd/delegate_misc.c | |
parent | 8db3019c49933a8d5c7c82095974f6fe30bdad4b (diff) | |
download | gnunet-b30d24b831b88c5695550b52b1051c4d6d943ce8.tar.gz gnunet-b30d24b831b88c5695550b52b1051c4d6d943ce8.zip |
indent
Diffstat (limited to 'src/abd/delegate_misc.c')
-rw-r--r-- | src/abd/delegate_misc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/abd/delegate_misc.c b/src/abd/delegate_misc.c index ecc7f7669..fb5834274 100644 --- a/src/abd/delegate_misc.c +++ b/src/abd/delegate_misc.c | |||
@@ -11,7 +11,7 @@ | |||
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 | Affero 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 Affero 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 | ||
@@ -88,13 +88,13 @@ GNUNET_ABD_delegate_from_string (const char *s) | |||
88 | char iss_attr[253 + 1]; | 88 | char iss_attr[253 + 1]; |
89 | // Needs to be initialized, in case of Type 1 credential (A.a <- B) | 89 | // Needs to be initialized, in case of Type 1 credential (A.a <- B) |
90 | char sub_attr[253 + 1] = ""; | 90 | char sub_attr[253 + 1] = ""; |
91 | char signature[256]; //TODO max payload size | 91 | char signature[256]; // TODO max payload size |
92 | 92 | ||
93 | struct GNUNET_CRYPTO_EcdsaSignature *sig; | 93 | struct GNUNET_CRYPTO_EcdsaSignature *sig; |
94 | struct GNUNET_TIME_Absolute etime_abs; | 94 | struct GNUNET_TIME_Absolute etime_abs; |
95 | 95 | ||
96 | // If it's A.a <- B.b... | 96 | // If it's A.a <- B.b... |
97 | if (6 != SSCANF (s, | 97 | if (6 != sscanf (s, |
98 | "%52s.%253s -> %52s.%253s | %s | %" SCNu64, | 98 | "%52s.%253s -> %52s.%253s | %s | %" SCNu64, |
99 | issuer_pkey, | 99 | issuer_pkey, |
100 | iss_attr, | 100 | iss_attr, |
@@ -104,7 +104,7 @@ GNUNET_ABD_delegate_from_string (const char *s) | |||
104 | &etime_abs.abs_value_us)) | 104 | &etime_abs.abs_value_us)) |
105 | { | 105 | { |
106 | // Try if it's A.a <- B | 106 | // Try if it's A.a <- B |
107 | if (5 != SSCANF (s, | 107 | if (5 != sscanf (s, |
108 | "%52s.%253s -> %52s | %s | %" SCNu64, | 108 | "%52s.%253s -> %52s | %s | %" SCNu64, |
109 | issuer_pkey, | 109 | issuer_pkey, |
110 | iss_attr, | 110 | iss_attr, |