aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-10-15 16:06:00 -0400
committerNick Mathewson <nickm@torproject.org>2009-10-18 18:46:12 -0400
commit200c39b66cc6e157e78a67481b85e237ccffbef3 (patch)
treeabcc718d5da4eefe603ae3630f67164e0be19a0c /src/common/crypto.c
parentd61b5df9c1bed57cb39888a1f256cf6c234c29eb (diff)
downloadtor-200c39b66cc6e157e78a67481b85e237ccffbef3.tar.gz
tor-200c39b66cc6e157e78a67481b85e237ccffbef3.zip
Document the microdescriptor code better.
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r--src/common/crypto.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c
index f335f99aba..4ea4492898 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -1481,7 +1481,8 @@ crypto_digest_algorithm_get_name(digest_algorithm_t alg)
}
}
-/** DOCDOC */
+/** Given the name of a digest algorithm, return its integer value, or -1 if
+ * the name is not recognized. */
int
crypto_digest_algorithm_parse_name(const char *name)
{