diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-11-04 14:00:32 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-11-04 14:00:32 +0000 |
commit | 83b19539f4d322b43683f5838b72e9ec2c8e6073 (patch) | |
tree | d0ab9329fcbefe360d9d14e2ace21a6b3396dfe9 /src/util/crypto_crc.c | |
parent | 28a2eb43281a1f08a67954f07beb9af3a9bc9a35 (diff) | |
download | gnunet-83b19539f4d322b43683f5838b72e9ec2c8e6073.tar.gz gnunet-83b19539f4d322b43683f5838b72e9ec2c8e6073.zip |
curly wars / auto-indentation
Diffstat (limited to 'src/util/crypto_crc.c')
-rw-r--r-- | src/util/crypto_crc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/util/crypto_crc.c b/src/util/crypto_crc.c index 5920ddc93..698d8d450 100644 --- a/src/util/crypto_crc.c +++ b/src/util/crypto_crc.c | |||
@@ -66,12 +66,12 @@ crc_init () | |||
66 | once = 1; | 66 | once = 1; |
67 | crc_table[0] = 0; | 67 | crc_table[0] = 0; |
68 | for (i = 128; i; i >>= 1) | 68 | for (i = 128; i; i >>= 1) |
69 | { | 69 | { |
70 | h = (h >> 1) ^ ((h & 1) ? POLYNOMIAL : 0); | 70 | h = (h >> 1) ^ ((h & 1) ? POLYNOMIAL : 0); |
71 | /* h is now crc_table[i] */ | 71 | /* h is now crc_table[i] */ |
72 | for (j = 0; j < 256; j += 2 * i) | 72 | for (j = 0; j < 256; j += 2 * i) |
73 | crc_table[i + j] = crc_table[j] ^ h; | 73 | crc_table[i + j] = crc_table[j] ^ h; |
74 | } | 74 | } |
75 | } | 75 | } |
76 | 76 | ||
77 | /* | 77 | /* |