diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-03-18 15:00:52 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-04-18 11:04:57 -0400 |
commit | e1128d905c7eae33d099e4287823fbd18f3c876e (patch) | |
tree | 5bfbba46b758e8ee0f6ba2b68eb39f39c8451669 /src/common/crypto.c | |
parent | d2d5a7dabccf4b653434c0082df7d5c2f90b1575 (diff) | |
download | tor-e1128d905c7eae33d099e4287823fbd18f3c876e.tar.gz tor-e1128d905c7eae33d099e4287823fbd18f3c876e.zip |
Fix a couple of documentation issues.
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r-- | src/common/crypto.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c index aeef1e3c6b..b9829ecd1a 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -1635,7 +1635,8 @@ crypto_digest_assign(crypto_digest_t *into, /** Given a list of strings in <b>lst</b>, set the <b>len_out</b>-byte digest * at <b>digest_out</b> to the hash of the concatenation of those strings, * plus the optional string <b>append</b>, computed with the algorithm - * <b>alg</b>. */ + * <b>alg</b>. + * <b>out_len</b> must be \<= DIGEST256_LEN. */ void crypto_digest_smartlist(char *digest_out, size_t len_out, const smartlist_t *lst, const char *append, |