# HG changeset patch # User Simon Josefsson # Date 1129058229 0 # Node ID e5493443881a16dd6e94e30c640a7ad27e687822 # Parent 74a5018452c0ed53d24990e424a2aefe23313f98 Doc fix. diff --git a/lib/gc.h b/lib/gc.h --- a/lib/gc.h +++ b/lib/gc.h @@ -68,7 +68,8 @@ algorithm HASH, placing the result in the pre-allocated buffer OUT. The required size of OUT depends on HASH, and is generally GC__DIGEST_SIZE. For example, for GC_MD5 the output buffer - must be 16 bytes. */ + must be 16 bytes. The return value is 0 (GC_OK) on success, or + another Gc_rc error code. */ extern int gc_hash_buffer (int hash, const void *in, size_t inlen, char *out);