aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-05-22 17:58:25 +0000
committerNick Mathewson <nickm@torproject.org>2007-05-22 17:58:25 +0000
commitc9fa4e65832abc4b5d69fcba77edeb77fbf0dcdf (patch)
tree30482a85e9cadd89a9e158204e8384b695d44cb7 /src/common
parent6975a093e965e73ee88efe70b79a2211b9f5d7d3 (diff)
downloadtor-c9fa4e65832abc4b5d69fcba77edeb77fbf0dcdf.tar.gz
tor-c9fa4e65832abc4b5d69fcba77edeb77fbf0dcdf.zip
r12898@catbus: nickm | 2007-05-22 13:11:04 -0400
More v3 directory code: have authorities load certificates; have everybody store certificates to disk and load them; provide a way to configure v3 authorities. svn:r10293
Diffstat (limited to 'src/common')
-rw-r--r--src/common/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/util.c b/src/common/util.c
index 18d9fcba2c..d4a30a1459 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -1381,8 +1381,8 @@ append_bytes_to_file(const char *fname, const char *str, size_t len,
/** Read the contents of <b>filename</b> into a newly allocated
* string; return the string on success or NULL on failure.
*
- * If <b>size_out</b> is provided, store the length of the result in
- * <b>size_out</b>.
+ * If <b>stat_out</b> is provided, store the result of stat()ing the
+ * file into <b>stat_out</b>.
*
* If <b>flags</b> &amp; RFTS_BIN, open the file in binary mode.
* If <b>flags</b> &amp; RFTS_IGNORE_MISSING, don't warn if the file