diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-11-28 09:05:49 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-11-28 09:05:49 +0000 |
commit | 6f5dbefa7efe0c0c86928777b8821b3fdc91cf45 (patch) | |
tree | e92106bd8cac85684983daf62d952a9d8e6b8f18 /src/or/test.c | |
parent | 67dc7baa59e2b38a6720d843b54257ca0dd9e722 (diff) | |
download | tor-6f5dbefa7efe0c0c86928777b8821b3fdc91cf45.tar.gz tor-6f5dbefa7efe0c0c86928777b8821b3fdc91cf45.zip |
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.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/test.c b/src/or/test.c index 867ae33a48..f80cc55204 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 |