From: Joel Rosdahl Date: Sun, 21 Feb 2010 17:04:24 +0000 (+0100) Subject: Clarify hash_result() semantics X-Git-Tag: v3.0pre0~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e641e1e28030c0b9f8cf943cd70cd321461b05da;p=thirdparty%2Fccache.git Clarify hash_result() semantics --- diff --git a/hash.c b/hash.c index f63cfae97..bc300cef1 100644 --- a/hash.c +++ b/hash.c @@ -81,7 +81,7 @@ int hash_file(struct mdfour *md, const char *fname) return ret; } -/* return the hash result as a hex string */ +/* Return the hash result as a hex string. Caller frees. */ char *hash_result(struct mdfour *md) { unsigned char sum[16];