diff options
author | ng0 <ng0@n0.is> | 2019-09-08 12:33:09 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-09-08 12:33:09 +0000 |
commit | d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb (patch) | |
tree | 9efd18ea7d425652085ed0bd5e8e45604bc5f6b9 /src/util/test_crypto_crc.c | |
parent | a0fce305c565c0937d917a92712f15e9c5736260 (diff) | |
download | gnunet-d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb.tar.gz gnunet-d41ed82a4ea0cc8e1674b6d5d2c49fd6462610bb.zip |
uncrustify as demanded.
Diffstat (limited to 'src/util/test_crypto_crc.c')
-rw-r--r-- | src/util/test_crypto_crc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/util/test_crypto_crc.c b/src/util/test_crypto_crc.c index 838da5dbc..fb9d5361b 100644 --- a/src/util/test_crypto_crc.c +++ b/src/util/test_crypto_crc.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 | ||
@@ -20,7 +20,7 @@ | |||
20 | For the actual CRC code: | 20 | For the actual CRC code: |
21 | Copyright abandoned; this code is in the public domain. | 21 | Copyright abandoned; this code is in the public domain. |
22 | Provided to GNUnet by peter@horizon.com | 22 | Provided to GNUnet by peter@horizon.com |
23 | */ | 23 | */ |
24 | 24 | ||
25 | /** | 25 | /** |
26 | * @file util/test_crypto_crc.c | 26 | * @file util/test_crypto_crc.c |
@@ -205,16 +205,16 @@ static int expected[] = { | |||
205 | }; | 205 | }; |
206 | 206 | ||
207 | int | 207 | int |
208 | main (int argc, char *argv[]) | 208 | main(int argc, char *argv[]) |
209 | { | 209 | { |
210 | char buf[1024]; | 210 | char buf[1024]; |
211 | int i; | 211 | int i; |
212 | 212 | ||
213 | GNUNET_log_setup ("test-crypto-crc", "WARNING", NULL); | 213 | GNUNET_log_setup("test-crypto-crc", "WARNING", NULL); |
214 | for (i = 0; i < 1024; i++) | 214 | for (i = 0; i < 1024; i++) |
215 | buf[i] = (char) i; | 215 | buf[i] = (char)i; |
216 | for (i = 0; i < 1024; i++) | 216 | for (i = 0; i < 1024; i++) |
217 | if (expected[i] != GNUNET_CRYPTO_crc32_n (&buf[i], 1024 - i)) | 217 | if (expected[i] != GNUNET_CRYPTO_crc32_n(&buf[i], 1024 - i)) |
218 | return 1; | 218 | return 1; |
219 | return 0; | 219 | return 0; |
220 | } | 220 | } |