Commit 762d82cf authored by Nick Mathewson's avatar Nick Mathewson 🏃
Browse files

r19062@catbus: nickm | 2008-03-26 12:56:25 -0400

 Fix whitespace


svn:r14197
parent 3af9e099
......@@ -209,3 +209,4 @@ memarea_assert_ok(memarea_t *area)
tor_assert(chunk->next_mem <= chunk->u.mem+chunk->mem_size+MEMAREA_ALIGN);
}
}
......@@ -20,3 +20,4 @@ char *memarea_strndup(memarea_t *area, const char *s, size_t n);
void memarea_assert_ok(memarea_t *area);
#endif
......@@ -121,7 +121,7 @@ typedef struct directory_token_t {
directory_keyword tp; /**< Type of the token. */
int n_args:30; /**< Number of elements in args */
char **args; /**< Array of arguments from keyword line. */
char *object_type; /**< -----BEGIN [object_type]-----*/
size_t object_size; /**< Bytes in object_body */
char *object_body; /**< Contents of object, base64-decoded. */
......@@ -1979,7 +1979,8 @@ networkstatus_v2_parse_from_string(const char *s)
memarea_clear(area);
while (!strcmpstart(s, "r ")) {
routerstatus_t *rs;
if ((rs = routerstatus_parse_entry_from_string(area, &s, tokens, NULL, NULL, 0)))
if ((rs = routerstatus_parse_entry_from_string(area, &s, tokens,
NULL, NULL, 0)))
smartlist_add(ns->entries, rs);
}
smartlist_sort(ns->entries, _compare_routerstatus_entries);
......
......@@ -619,7 +619,6 @@ test_crypto(void)
test_eq(15, crypto_pk_private_decrypt(pk2, data3, data1, 128,
PK_PKCS1_OAEP_PADDING,1));
/* Now try signing. */
strlcpy(data1, "Ossifrage", 1024);
test_eq(128, crypto_pk_private_sign(pk1, data2, data1, 10));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment