diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 82c062cb52..0ab99a09ca 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -4305,8 +4305,8 @@ router_get_hash_impl_helper(const char *s, size_t s_len,
/** Compute the digest of the substring of s taken from the first
* occurrence of start_str through the first instance of c after the
- * first subsequent occurrence of end_str; store the 20-byte result in
- * digest; return 0 on success.
+ * first subsequent occurrence of end_str; store the 20-byte or 32-byte
+ * result in digest; return 0 on success.
*
* If no such substring exists, return -1.
*/