aboutsummaryrefslogtreecommitdiff
path: root/src/or/test.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-11-28 09:05:49 +0000
committerNick Mathewson <nickm@torproject.org>2004-11-28 09:05:49 +0000
commit6f5dbefa7efe0c0c86928777b8821b3fdc91cf45 (patch)
treee92106bd8cac85684983daf62d952a9d8e6b8f18 /src/or/test.c
parent67dc7baa59e2b38a6720d843b54257ca0dd9e722 (diff)
downloadtor-6f5dbefa7efe0c0c86928777b8821b3fdc91cf45.tar
tor-6f5dbefa7efe0c0c86928777b8821b3fdc91cf45.tar.gz
Normalize space: add one between every control keyword and control clause.
svn:r3003
Diffstat (limited to 'src/or/test.c')
-rw-r--r--src/or/test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/test.c b/src/or/test.c
index 867ae33a4..f80cc5520 100644
--- a/src/or/test.c
+++ b/src/or/test.c
@@ -267,7 +267,7 @@ test_crypto(void)
test_neq(env1, 0);
test_eq(crypto_cipher_generate_key(env1), 0);
test_eq(crypto_cipher_encrypt_init_cipher(env1), 0);
- for(i = 0; i < 1024; ++i) {
+ for (i = 0; i < 1024; ++i) {
data1[i] = (char) i*73;
}
crypto_cipher_encrypt(env1, data2, data1, 1024);
@@ -277,7 +277,7 @@ test_crypto(void)
/* Now, test encryption and decryption with stream cipher. */
data1[0]='\0';
- for(i = 1023; i>0; i -= 35)
+ for (i = 1023; i>0; i -= 35)
strncat(data1, "Now is the time for all good onions", i);
memset(data2, 0, 1024);
@@ -879,7 +879,7 @@ test_onion(void)
test_streq(names[1],"bar");
test_streq(names[2],"baz");
test_streq(names[3],"quux");
- for(i=0;i<num;i++)
+ for (i=0;i<num;i++)
tor_free(names[i]);
tor_free(names);
#endif